|
Kanzi Graphics Engine
|
Property manager. More...
Functions | |
| kzsError | kzuPropertyIntValueSourceCreate (const struct KzuPropertyManager *propertyManager, kzInt value, struct KzuPropertyIntValueSource **out_valueSource) |
| Create a int value source. More... | |
| kzsError | kzuPropertyIntValueSourceDelete (struct KzuPropertyIntValueSource *valueSource) |
| Delete a int value source. More... | |
| kzsError | kzuPropertyIntValueSourceClone (const struct KzuPropertyManager *propertyManager, const struct KzuPropertyIntValueSource *valueSource, struct KzuPropertyIntValueSource **out_newValueSource) |
| Copy a int value source. More... | |
| kzsError | kzuPropertyIntValueSourceCopy (struct KzuPropertyIntValueSource *target, const struct KzuPropertyIntValueSource *source) |
| Copy a int value source. More... | |
| kzsError | kzuPropertyIntValueSourceSetValue (struct KzuPropertyIntValueSource *valueSource, kzInt value) |
| Set a int value source. More... | |
| kzInt | kzuPropertyIntValueSourceGetValue (const struct KzuPropertyIntValueSource *valueSource) |
| Get a int value source. More... | |
| kzsError | kzuPropertyManagerSetInt (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, kzInt value) |
| Set a property of propertyType associated with an object. More... | |
| kzBool | kzuPropertyManagerGetInt (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, kzInt *out_value) |
| Get the value of a property of propertyType associated with an object. More... | |
| kzBool | kzuPropertyManagerGetBaseInt (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, kzInt *out_value) |
| Get the base value of a property of propertyType associated with an object. More... | |
| kzInt | kzuPropertyManagerGetIntDefault (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 | kzuObjectNodeSetIntProperty (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType, kzInt value) |
| Set a property on an object node. More... | |
| kzBool | kzuObjectNodeGetIntProperty (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType, kzInt *out_value) |
| Get the value of a property of propertyType associated with an object node. More... | |
| kzBool | kzuObjectNodeGetBaseIntProperty (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType, kzInt *out_value) |
| Get the base value of a property of propertyType associated with an object node. More... | |
| kzInt | kzuObjectNodeGetIntPropertyDefault (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 kzuPropertyIntValueSourceCreate | ( | const struct KzuPropertyManager * | propertyManager, |
| kzInt | value, | ||
| struct KzuPropertyIntValueSource ** | out_valueSource | ||
| ) |
Create a int value source.
| kzsError kzuPropertyIntValueSourceDelete | ( | struct KzuPropertyIntValueSource * | valueSource) |
Delete a int value source.
| kzsError kzuPropertyIntValueSourceClone | ( | const struct KzuPropertyManager * | propertyManager, |
| const struct KzuPropertyIntValueSource * | valueSource, | ||
| struct KzuPropertyIntValueSource ** | out_newValueSource | ||
| ) |
Copy a int value source.
| kzsError kzuPropertyIntValueSourceCopy | ( | struct KzuPropertyIntValueSource * | target, |
| const struct KzuPropertyIntValueSource * | source | ||
| ) |
Copy a int value source.
| kzsError kzuPropertyIntValueSourceSetValue | ( | struct KzuPropertyIntValueSource * | valueSource, |
| kzInt | value | ||
| ) |
Set a int value source.
| kzInt kzuPropertyIntValueSourceGetValue | ( | const struct KzuPropertyIntValueSource * | valueSource) |
Get a int value source.
| kzsError kzuPropertyManagerSetInt | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| kzInt | value | ||
| ) |
Set a property of propertyType associated with an object.
| kzBool kzuPropertyManagerGetInt | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| kzInt * | 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 kzuPropertyManagerGetBaseInt | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| kzInt * | 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.
| kzInt kzuPropertyManagerGetIntDefault | ( | 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 kzuPropertyManagerGetInt then that value is returned. If the property can not be deduced, the default value from the property type is returned.
| kzsError kzuObjectNodeSetIntProperty | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType, | ||
| kzInt | value | ||
| ) |
Set a property on an object node.
| kzBool kzuObjectNodeGetIntProperty | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType, | ||
| kzInt * | 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 kzuObjectNodeGetBaseIntProperty | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType, | ||
| kzInt * | out_value | ||
| ) |
Get the base value of a property of propertyType associated with an object node.
Behaves like kzuObjectNodeGetIntProperty but does not take animation into account.
| kzInt kzuObjectNodeGetIntPropertyDefault | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType | ||
| ) |
Get the value of a property associated with an object node.
Behaves like kzuObjectNodeGetIntProperty, but if the property value can not be deduced, the default value from the property type is returned.