All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kzu_matrix3x3_property.h File Reference

Specifies matrix3x3 property. More...

Functions

kzsError kzuMatrix3x3PropertyTypeCreate (const struct KzcMemoryManager *memoryManager, kzString name, struct KzcMatrix3x3 defaultValue, struct KzuMatrix3x3PropertyType **out_matrix3x3PropertyType)
 Creates a new matrix property type. More...
 
kzsError kzuMatrix3x3PropertyTypeDelete (struct KzuMatrix3x3PropertyType *matrix3x3PropertyType)
 Deletes matrix property type. More...
 
kzsError kzuMatrix3x3PropertyTypeLoadFromKzb (struct KzuMatrix3x3PropertyType *matrix3x3PropertyType, struct KzcInputStream *inputStream)
 Loads matrix property type from KZB. More...
 
struct KzuMatrix3x3PropertyTypekzuMatrix3x3PropertyTypeFromPropertyType (const struct KzuPropertyType *propertyType)
 Returns matrix 3x3 property type from property type. More...
 
struct KzuPropertyTypekzuMatrix3x3PropertyTypeToPropertyType (const struct KzuMatrix3x3PropertyType *matrix3x3PropertyType)
 Returns property type from matrix property type. More...
 
struct KzcMatrix3x3 kzuMatrix3x3PropertyTypeGetDefaultValue (const struct KzuMatrix3x3PropertyType *matrix3x3PropertyType)
 Gets the default value of matrix property type. More...
 
void kzuMatrix3x3PropertyTypeGetDefaultSRTValue (const struct KzuMatrix3x3PropertyType *matrix3x3PropertyType, struct KzcVector2 *out_scale, kzFloat *out_rotateInDegrees, struct KzcVector2 *out_translate)
 Gets the default SRT value of matrix property type. More...
 

Detailed Description

Specifies matrix3x3 property.

Copyright 2008-2020 by Rightware. All rights reserved.

Function Documentation

kzsError kzuMatrix3x3PropertyTypeCreate ( const struct KzcMemoryManager memoryManager,
kzString  name,
struct KzcMatrix3x3  defaultValue,
struct KzuMatrix3x3PropertyType **  out_matrix3x3PropertyType 
)

Creates a new matrix property type.

kzsError kzuMatrix3x3PropertyTypeDelete ( struct KzuMatrix3x3PropertyType matrix3x3PropertyType)

Deletes matrix property type.

kzsError kzuMatrix3x3PropertyTypeLoadFromKzb ( struct KzuMatrix3x3PropertyType matrix3x3PropertyType,
struct KzcInputStream inputStream 
)

Loads matrix property type from KZB.

struct KzuMatrix3x3PropertyType* kzuMatrix3x3PropertyTypeFromPropertyType ( const struct KzuPropertyType propertyType)

Returns matrix 3x3 property type from property type.

struct KzuPropertyType* kzuMatrix3x3PropertyTypeToPropertyType ( const struct KzuMatrix3x3PropertyType matrix3x3PropertyType)

Returns property type from matrix property type.

struct KzcMatrix3x3 kzuMatrix3x3PropertyTypeGetDefaultValue ( const struct KzuMatrix3x3PropertyType matrix3x3PropertyType)

Gets the default value of matrix property type.

void kzuMatrix3x3PropertyTypeGetDefaultSRTValue ( const struct KzuMatrix3x3PropertyType matrix3x3PropertyType,
struct KzcVector2 out_scale,
kzFloat out_rotateInDegrees,
struct KzcVector2 out_translate 
)

Gets the default SRT value of matrix property type.

Parameters
out_scaleScale vector of the matrix SRT, not returned when KZ_NULL given as an argument.
out_rotateRotate scalar of the matrix SRT in degrees, not returned when KZ_NULL given as an argument.
out_translateTranslate vector of the matrix SRT, not returned when KZ_NULL given as an argument.