|
Kanzi Graphics Engine
|
Property manager. More...
#include <core/util/math/kzc_vector3.h>#include <system/kzs_types.h>#include <system/debug/kzs_error.h>#include <system/kzs_header.h>Functions | |
| kzsError | kzuPropertyVector3ValueSourceCreate (const struct KzuPropertyManager *propertyManager, struct KzcVector3 value, struct KzuPropertyVector3ValueSource **out_valueSource) |
| Create a vector3 value source. More... | |
| kzsError | kzuPropertyVector3ValueSourceDelete (struct KzuPropertyVector3ValueSource *valueSource) |
| Delete a vector3 value source. More... | |
| kzsError | kzuPropertyVector3ValueSourceClone (const struct KzuPropertyManager *propertyManager, const struct KzuPropertyVector3ValueSource *valueSource, struct KzuPropertyVector3ValueSource **out_newValueSource) |
| Copy a vector3 value source. More... | |
| kzsError | kzuPropertyVector3ValueSourceCopy (struct KzuPropertyVector3ValueSource *target, const struct KzuPropertyVector3ValueSource *source) |
| Copy a vector3 value source. More... | |
| kzsError | kzuPropertyVector3ValueSourceSetValue (struct KzuPropertyVector3ValueSource *valueSource, struct KzcVector3 value) |
| Set a vector3 value source. More... | |
| struct KzcVector3 | kzuPropertyVector3ValueSourceGetValue (const struct KzuPropertyVector3ValueSource *valueSource) |
| Get a vector3 value source. More... | |
| kzsError | kzuPropertyManagerSetVector3 (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, struct KzcVector3 value) |
| Set a property of propertyType associated with an object. More... | |
| kzBool | kzuPropertyManagerGetVector3 (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, struct KzcVector3 *out_value) |
| Get the value of a property of propertyType associated with an object. More... | |
| kzBool | kzuPropertyManagerGetBaseVector3 (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, struct KzcVector3 *out_value) |
| Get the base value of a property of propertyType associated with an object. More... | |
| struct KzcVector3 | kzuPropertyManagerGetVector3Default (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType) |
| Get a property of propertyType associated with an object and return the default value from the property type if not found. More... | |
| kzsError | kzuObjectNodeSetVector3Property (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType, struct KzcVector3 value) |
| Set a property on an object node. More... | |
| kzBool | kzuObjectNodeGetVector3Property (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType, struct KzcVector3 *out_value) |
| Get the value of a property of propertyType associated with an object node. More... | |
| kzBool | kzuObjectNodeGetBaseVector3Property (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType, struct KzcVector3 *out_value) |
| Get the base value of a property of propertyType associated with an object node. More... | |
| struct KzcVector3 | kzuObjectNodeGetVector3PropertyDefault (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType) |
| Get the value of a property associated with an object node. More... | |
Property manager.
Copyright 3008-2019 by Rightware. All rights reserved.
| kzsError kzuPropertyVector3ValueSourceCreate | ( | const struct KzuPropertyManager * | propertyManager, |
| struct KzcVector3 | value, | ||
| struct KzuPropertyVector3ValueSource ** | out_valueSource | ||
| ) |
Create a vector3 value source.
| kzsError kzuPropertyVector3ValueSourceDelete | ( | struct KzuPropertyVector3ValueSource * | valueSource) |
Delete a vector3 value source.
| kzsError kzuPropertyVector3ValueSourceClone | ( | const struct KzuPropertyManager * | propertyManager, |
| const struct KzuPropertyVector3ValueSource * | valueSource, | ||
| struct KzuPropertyVector3ValueSource ** | out_newValueSource | ||
| ) |
Copy a vector3 value source.
| kzsError kzuPropertyVector3ValueSourceCopy | ( | struct KzuPropertyVector3ValueSource * | target, |
| const struct KzuPropertyVector3ValueSource * | source | ||
| ) |
Copy a vector3 value source.
| kzsError kzuPropertyVector3ValueSourceSetValue | ( | struct KzuPropertyVector3ValueSource * | valueSource, |
| struct KzcVector3 | value | ||
| ) |
Set a vector3 value source.
| struct KzcVector3 kzuPropertyVector3ValueSourceGetValue | ( | const struct KzuPropertyVector3ValueSource * | valueSource) |
Get a vector3 value source.
| kzsError kzuPropertyManagerSetVector3 | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector3 | value | ||
| ) |
Set a property of propertyType associated with an object.
| kzBool kzuPropertyManagerGetVector3 | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector3 * | out_value | ||
| ) |
Get the value of a property of propertyType associated with an object.
Returns KZ_TRUE if the property is found and KZ_FALSE otherwise. The return value is calculated based on the following steps:
| kzBool kzuPropertyManagerGetBaseVector3 | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector3 * | out_value | ||
| ) |
Get the base value of a property of propertyType associated with an object.
Returns KZ_TRUE if the property is found and KZ_FALSE otherwise.
| struct KzcVector3 kzuPropertyManagerGetVector3Default | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType | ||
| ) |
Get a property of propertyType associated with an object and return the default value from the property type if not found.
If the property value can be deduced with kzuPropertyManagerGetVector3 then that value is returned. If the property can not be deduced, the default value from the property type is returned.
| kzsError kzuObjectNodeSetVector3Property | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector3 | value | ||
| ) |
Set a property on an object node.
| kzBool kzuObjectNodeGetVector3Property | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector3 * | out_value | ||
| ) |
Get the value of a property of propertyType associated with an object node.
Returns KZ_TRUE if the property is found and KZ_FALSE otherwise. The return value is calculated based on the following steps:
| kzBool kzuObjectNodeGetBaseVector3Property | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector3 * | out_value | ||
| ) |
Get the base value of a property of propertyType associated with an object node.
Behaves like kzuObjectNodeGetVector3Property but does not take animation into account.
| struct KzcVector3 kzuObjectNodeGetVector3PropertyDefault | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType | ||
| ) |
Get the value of a property associated with an object node.
Behaves like kzuObjectNodeGetVector3Property, but if the property value can not be deduced, the default value from the property type is returned.