|
Kanzi Graphics Engine
|
Property manager. More...
#include <core/util/math/kzc_vector2.h>#include <system/kzs_types.h>#include <system/debug/kzs_error.h>#include <system/kzs_header.h>Functions | |
| kzsError | kzuPropertyVector2ValueSourceCreate (const struct KzuPropertyManager *propertyManager, struct KzcVector2 value, struct KzuPropertyVector2ValueSource **out_valueSource) |
| Create a vector2 value source. More... | |
| kzsError | kzuPropertyVector2ValueSourceDelete (struct KzuPropertyVector2ValueSource *valueSource) |
| Delete a vector2 value source. More... | |
| kzsError | kzuPropertyVector2ValueSourceClone (const struct KzuPropertyManager *propertyManager, const struct KzuPropertyVector2ValueSource *valueSource, struct KzuPropertyVector2ValueSource **out_newValueSource) |
| Copy a vector2 value source. More... | |
| kzsError | kzuPropertyVector2ValueSourceCopy (struct KzuPropertyVector2ValueSource *target, const struct KzuPropertyVector2ValueSource *source) |
| Copy a vector2 value source. More... | |
| kzsError | kzuPropertyVector2ValueSourceSetValue (struct KzuPropertyVector2ValueSource *valueSource, struct KzcVector2 value) |
| Set a vector2 value source. More... | |
| struct KzcVector2 | kzuPropertyVector2ValueSourceGetValue (const struct KzuPropertyVector2ValueSource *valueSource) |
| Get a vector2 value source. More... | |
| kzsError | kzuPropertyManagerSetVector2 (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, struct KzcVector2 value) |
| Set a property of propertyType associated with an object. More... | |
| kzBool | kzuPropertyManagerGetVector2 (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, struct KzcVector2 *out_value) |
| Get the value of a property of propertyType associated with an object. More... | |
| kzBool | kzuPropertyManagerGetBaseVector2 (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, struct KzcVector2 *out_value) |
| Get the base value of a property of propertyType associated with an object. More... | |
| struct KzcVector2 | kzuPropertyManagerGetVector2Default (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 | kzuObjectNodeSetVector2Property (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType, struct KzcVector2 value) |
| Set a property on an object node. More... | |
| kzBool | kzuObjectNodeGetVector2Property (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType, struct KzcVector2 *out_value) |
| Get the value of a property of propertyType associated with an object node. More... | |
| kzBool | kzuObjectNodeGetBaseVector2Property (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType, struct KzcVector2 *out_value) |
| Get the base value of a property of propertyType associated with an object node. More... | |
| struct KzcVector2 | kzuObjectNodeGetVector2PropertyDefault (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType) |
| Get the value of a property associated with an object node. More... | |
Property manager.
Copyright 2008-2019 by Rightware. All rights reserved.
| kzsError kzuPropertyVector2ValueSourceCreate | ( | const struct KzuPropertyManager * | propertyManager, |
| struct KzcVector2 | value, | ||
| struct KzuPropertyVector2ValueSource ** | out_valueSource | ||
| ) |
Create a vector2 value source.
| kzsError kzuPropertyVector2ValueSourceDelete | ( | struct KzuPropertyVector2ValueSource * | valueSource) |
Delete a vector2 value source.
| kzsError kzuPropertyVector2ValueSourceClone | ( | const struct KzuPropertyManager * | propertyManager, |
| const struct KzuPropertyVector2ValueSource * | valueSource, | ||
| struct KzuPropertyVector2ValueSource ** | out_newValueSource | ||
| ) |
Copy a vector2 value source.
| kzsError kzuPropertyVector2ValueSourceCopy | ( | struct KzuPropertyVector2ValueSource * | target, |
| const struct KzuPropertyVector2ValueSource * | source | ||
| ) |
Copy a vector2 value source.
| kzsError kzuPropertyVector2ValueSourceSetValue | ( | struct KzuPropertyVector2ValueSource * | valueSource, |
| struct KzcVector2 | value | ||
| ) |
Set a vector2 value source.
| struct KzcVector2 kzuPropertyVector2ValueSourceGetValue | ( | const struct KzuPropertyVector2ValueSource * | valueSource) |
Get a vector2 value source.
| kzsError kzuPropertyManagerSetVector2 | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector2 | value | ||
| ) |
Set a property of propertyType associated with an object.
| kzBool kzuPropertyManagerGetVector2 | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector2 * | 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 kzuPropertyManagerGetBaseVector2 | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector2 * | 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 KzcVector2 kzuPropertyManagerGetVector2Default | ( | 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 kzuPropertyManagerGetVector2 then that value is returned. If the property can not be deduced, the default value from the property type is returned.
| kzsError kzuObjectNodeSetVector2Property | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector2 | value | ||
| ) |
Set a property on an object node.
| kzBool kzuObjectNodeGetVector2Property | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector2 * | 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 kzuObjectNodeGetBaseVector2Property | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType, | ||
| struct KzcVector2 * | out_value | ||
| ) |
Get the base value of a property of propertyType associated with an object node.
Behaves like kzuObjectNodeGetVector2Property but does not take animation into account.
| struct KzcVector2 kzuObjectNodeGetVector2PropertyDefault | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType | ||
| ) |
Get the value of a property associated with an object node.
Behaves like kzuObjectNodeGetVector2Property, but if the property value can not be deduced, the default value from the property type is returned.