Property manager. More...
#include <core/util/math/kzc_vector4.h>
#include <system/kzs_types.h>
#include <system/debug/kzs_error.h>
Namespaces | |
kanzi | |
Functions | |
kzsError | kzuPropertyVector4ValueSourceCreate (const struct KzuPropertyManager *propertyManager, struct KzcVector4 value, struct KzuPropertyVector4ValueSource **out_valueSource) |
Create a vector4 value source. More... | |
kzsError | kzuPropertyVector4ValueSourceDelete (struct KzuPropertyVector4ValueSource *valueSource) |
Delete a vector4 value source. More... | |
kzsError | kzuPropertyVector4ValueSourceClone (const struct KzuPropertyManager *propertyManager, const struct KzuPropertyVector4ValueSource *valueSource, struct KzuPropertyVector4ValueSource **out_newValueSource) |
Copy a vector4 value source. More... | |
kzsError | kzuPropertyVector4ValueSourceCopy (struct KzuPropertyVector4ValueSource *target, const struct KzuPropertyVector4ValueSource *source) |
Copy a vector4 value source. More... | |
kzsError | kzuPropertyVector4ValueSourceSetValue (struct KzuPropertyVector4ValueSource *valueSource, struct KzcVector4 value) |
Set a vector4 value source. More... | |
struct KzcVector4 | kzuPropertyVector4ValueSourceGetValue (const struct KzuPropertyVector4ValueSource *valueSource) |
Get a vector4 value source. More... | |
kzsError | kzuPropertyManagerSetVector4 (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, struct KzcVector4 value) |
Set a property of propertyType associated with an object. More... | |
kzBool | kzuPropertyManagerGetVector4 (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, struct KzcVector4 *out_value) |
Get the value of a property of propertyType associated with an object. More... | |
kzBool | kzuPropertyManagerGetBaseVector4 (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, struct KzcVector4 *out_value) |
Get the base value of a property of propertyType associated with an object. More... | |
struct KzcVector4 | kzuPropertyManagerGetVector4Default (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 | kzuObjectNodeSetVector4Property (const kanzi::Node *objectNode, const struct KzuPropertyType *propertyType, struct KzcVector4 value) |
Set a property on an object node. More... | |
kzBool | kzuObjectNodeGetVector4Property (const kanzi::Node *objectNode, const struct KzuPropertyType *propertyType, struct KzcVector4 *out_value) |
Get the value of a property of propertyType associated with an object node. More... | |
kzBool | kzuObjectNodeGetBaseVector4Property (const kanzi::Node *objectNode, const struct KzuPropertyType *propertyType, struct KzcVector4 *out_value) |
Get the base value of a property of propertyType associated with an object node. More... | |
struct KzcVector4 | kzuObjectNodeGetVector4PropertyDefault (const kanzi::Node *objectNode, const struct KzuPropertyType *propertyType) |
Get the value of a property associated with an object node. More... | |
Property manager.
Copyright 4008-2020 by Rightware. All rights reserved.
kzsError kzuPropertyVector4ValueSourceCreate | ( | const struct KzuPropertyManager * | propertyManager, |
struct KzcVector4 | value, | ||
struct KzuPropertyVector4ValueSource ** | out_valueSource | ||
) |
Create a vector4 value source.
kzsError kzuPropertyVector4ValueSourceDelete | ( | struct KzuPropertyVector4ValueSource * | valueSource | ) |
Delete a vector4 value source.
kzsError kzuPropertyVector4ValueSourceClone | ( | const struct KzuPropertyManager * | propertyManager, |
const struct KzuPropertyVector4ValueSource * | valueSource, | ||
struct KzuPropertyVector4ValueSource ** | out_newValueSource | ||
) |
Copy a vector4 value source.
kzsError kzuPropertyVector4ValueSourceCopy | ( | struct KzuPropertyVector4ValueSource * | target, |
const struct KzuPropertyVector4ValueSource * | source | ||
) |
Copy a vector4 value source.
kzsError kzuPropertyVector4ValueSourceSetValue | ( | struct KzuPropertyVector4ValueSource * | valueSource, |
struct KzcVector4 | value | ||
) |
Set a vector4 value source.
struct KzcVector4 kzuPropertyVector4ValueSourceGetValue | ( | const struct KzuPropertyVector4ValueSource * | valueSource | ) |
Get a vector4 value source.
kzsError kzuPropertyManagerSetVector4 | ( | const struct KzuPropertyManager * | propertyManager, |
const void * | object, | ||
const struct KzuPropertyType * | propertyType, | ||
struct KzcVector4 | value | ||
) |
Set a property of propertyType associated with an object.
kzBool kzuPropertyManagerGetVector4 | ( | const struct KzuPropertyManager * | propertyManager, |
const void * | object, | ||
const struct KzuPropertyType * | propertyType, | ||
struct KzcVector4 * | 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 kzuPropertyManagerGetBaseVector4 | ( | const struct KzuPropertyManager * | propertyManager, |
const void * | object, | ||
const struct KzuPropertyType * | propertyType, | ||
struct KzcVector4 * | 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 KzcVector4 kzuPropertyManagerGetVector4Default | ( | 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 kzuPropertyManagerGetVector4 then that value is returned. If the property can not be deduced, the default value from the property type is returned.
kzsError kzuObjectNodeSetVector4Property | ( | const kanzi::Node * | objectNode, |
const struct KzuPropertyType * | propertyType, | ||
struct KzcVector4 | value | ||
) |
Set a property on an object node.
kzBool kzuObjectNodeGetVector4Property | ( | const kanzi::Node * | objectNode, |
const struct KzuPropertyType * | propertyType, | ||
struct KzcVector4 * | 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 kzuObjectNodeGetBaseVector4Property | ( | const kanzi::Node * | objectNode, |
const struct KzuPropertyType * | propertyType, | ||
struct KzcVector4 * | out_value | ||
) |
Get the base value of a property of propertyType associated with an object node.
Behaves like kzuObjectNodeGetVector4Property but does not take animation into account.
struct KzcVector4 kzuObjectNodeGetVector4PropertyDefault | ( | const kanzi::Node * | objectNode, |
const struct KzuPropertyType * | propertyType | ||
) |
Get the value of a property associated with an object node.
Behaves like kzuObjectNodeGetVector4Property, but if the property value can not be deduced, the default value from the property type is returned.