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

Specifies vector3 property. More...

Enumerations

enum  KzuVector3Type { KZU_VECTOR3_TYPE_NORMAL, KZU_VECTOR3_TYPE_POSITION_FROM_MATRIX4X4, KZU_VECTOR3_TYPE_DIRECTION_FROM_MATRIX4X4 }
 Type of vector3 property. More...
 

Functions

kzsError kzuVector3PropertyTypeCreate (const struct KzcMemoryManager *memoryManager, kzString name, enum KzuVector3Type vectorType, struct KzcVector3 defaultValue, struct KzuVector3PropertyType **out_vector3PropertyType)
 Creates a new vector property type. More...
 
kzsError kzuVector3PropertyTypeDelete (struct KzuVector3PropertyType *vector3PropertyType)
 Deletes vector property type. More...
 
kzsError kzuVector3PropertyTypeLoadFromKzb (struct KzuVector3PropertyType *vector3PropertyType, struct KzcInputStream *inputStream)
 Loads vector property type from KZB. More...
 
struct KzuVector3PropertyTypekzuVector3PropertyTypeFromPropertyType (const struct KzuPropertyType *propertyType)
 Returns vector3 property type from property type. More...
 
struct KzuPropertyTypekzuVector3PropertyTypeToPropertyType (const struct KzuVector3PropertyType *vector3PropertyType)
 Returns property type from vector3 property type. More...
 
struct KzcVector3 kzuVector3PropertyTypeGetDefaultValue (const struct KzuVector3PropertyType *vector3PropertyType)
 Gets the default value of vector property type. More...
 
enum KzuVector3Type kzuVector3PropertyTypeGetVectorType (const struct KzuVector3PropertyType *vector3PropertyType)
 Gets vector type from vector property. More...
 

Detailed Description

Specifies vector3 property.

Copyright 2008-2020 by Rightware. All rights reserved.

Enumeration Type Documentation

Type of vector3 property.

Enumerator
KZU_VECTOR3_TYPE_NORMAL 

Normal vector3 property.

KZU_VECTOR3_TYPE_POSITION_FROM_MATRIX4X4 

Vector3 property value fetch from pipeline 4x4 world matrix position.

KZU_VECTOR3_TYPE_DIRECTION_FROM_MATRIX4X4 

Vector3 property value fetch from pipeline 4x4 world matrix direction.

Function Documentation

kzsError kzuVector3PropertyTypeCreate ( const struct KzcMemoryManager memoryManager,
kzString  name,
enum KzuVector3Type  vectorType,
struct KzcVector3  defaultValue,
struct KzuVector3PropertyType **  out_vector3PropertyType 
)

Creates a new vector property type.

kzsError kzuVector3PropertyTypeDelete ( struct KzuVector3PropertyType vector3PropertyType)

Deletes vector property type.

kzsError kzuVector3PropertyTypeLoadFromKzb ( struct KzuVector3PropertyType vector3PropertyType,
struct KzcInputStream inputStream 
)

Loads vector property type from KZB.

struct KzuVector3PropertyType* kzuVector3PropertyTypeFromPropertyType ( const struct KzuPropertyType propertyType)

Returns vector3 property type from property type.

struct KzuPropertyType* kzuVector3PropertyTypeToPropertyType ( const struct KzuVector3PropertyType vector3PropertyType)

Returns property type from vector3 property type.

struct KzcVector3 kzuVector3PropertyTypeGetDefaultValue ( const struct KzuVector3PropertyType vector3PropertyType)

Gets the default value of vector property type.

enum KzuVector3Type kzuVector3PropertyTypeGetVectorType ( const struct KzuVector3PropertyType vector3PropertyType)

Gets vector type from vector property.