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

Specifies matrix4x4 property. More...

Functions

kzsError kzuMatrix4x4PropertyTypeCreate (const struct KzcMemoryManager *memoryManager, kzString name, struct KzcMatrix4x4 defaultValue, struct KzuMatrix4x4PropertyType **out_matrix4x4PropertyType)
 Creates a new matrix property type. More...
 
kzsError kzuMatrix4x4PropertyTypeDelete (struct KzuMatrix4x4PropertyType *matrix4x4PropertyType)
 Deletes matrix property type. More...
 
kzsError kzuMatrix4x4PropertyTypeLoadFromKzb (struct KzuMatrix4x4PropertyType *matrix4x4PropertyType, struct KzcInputStream *inputStream)
 Loads matrix property type from KZB. More...
 
struct KzuMatrix4x4PropertyTypekzuMatrix4x4PropertyTypeFromPropertyType (const struct KzuPropertyType *propertyType)
 Returns matrix 4x4 property type from property type. More...
 
struct KzuPropertyTypekzuMatrix4x4PropertyTypeToPropertyType (const struct KzuMatrix4x4PropertyType *matrix4x4PropertyType)
 Returns property type from matrix property type. More...
 
struct KzcMatrix4x4 kzuMatrix4x4PropertyTypeGetDefaultValue (const struct KzuMatrix4x4PropertyType *matrix4x4PropertyType)
 Gets the default value of matrix property type. More...
 
void kzuMatrix4x4PropertyTypeGetDefaultSRTValue (const struct KzuMatrix4x4PropertyType *matrix4x4PropertyType, struct KzcVector3 *out_scale, struct KzcVector3 *out_rotateInDegrees, struct KzcVector3 *out_translate)
 Gets the default SRT value of matrix property type. More...
 

Detailed Description

Specifies matrix4x4 property.

Copyright 2008-2020 by Rightware. All rights reserved.

Function Documentation

kzsError kzuMatrix4x4PropertyTypeCreate ( const struct KzcMemoryManager memoryManager,
kzString  name,
struct KzcMatrix4x4  defaultValue,
struct KzuMatrix4x4PropertyType **  out_matrix4x4PropertyType 
)

Creates a new matrix property type.

kzsError kzuMatrix4x4PropertyTypeDelete ( struct KzuMatrix4x4PropertyType matrix4x4PropertyType)

Deletes matrix property type.

kzsError kzuMatrix4x4PropertyTypeLoadFromKzb ( struct KzuMatrix4x4PropertyType matrix4x4PropertyType,
struct KzcInputStream inputStream 
)

Loads matrix property type from KZB.

struct KzuMatrix4x4PropertyType* kzuMatrix4x4PropertyTypeFromPropertyType ( const struct KzuPropertyType propertyType)

Returns matrix 4x4 property type from property type.

struct KzuPropertyType* kzuMatrix4x4PropertyTypeToPropertyType ( const struct KzuMatrix4x4PropertyType matrix4x4PropertyType)

Returns property type from matrix property type.

struct KzcMatrix4x4 kzuMatrix4x4PropertyTypeGetDefaultValue ( const struct KzuMatrix4x4PropertyType matrix4x4PropertyType)

Gets the default value of matrix property type.

void kzuMatrix4x4PropertyTypeGetDefaultSRTValue ( const struct KzuMatrix4x4PropertyType matrix4x4PropertyType,
struct KzcVector3 out_scale,
struct KzcVector3 out_rotateInDegrees,
struct KzcVector3 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 vector 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.