AnimationBindPropertyParameter Class
Inherits from: | AnimationBind |
This class is used to manage property parameter bindings of animation objects via code. Animation objects serve as proxies in animation sequences and are bound to specific objects (materials, nodes, property parameters, or runtime objects like widgets and windows) at the playback stage.
Bindings are used to store, search, and obtain real engine objects that are actually animated.
The property parameter to be animated can be bound either via the property asset, via a node or an object's surface to which the property holding the animated parameter is assigned depending on the specified access mode. In case of accessing property parameter via a surface we'll get a child property inherited from the one assigned to this surface.
AnimationBindPropertyParameter Class
Members
void setAccess ( int access ) #
Arguments
- int access - The access mode.
int getAccess() const#
Return value
Current access mode.UGUID getPropertyDescriptionGUID() const#
Return value
Current GUID of the property.UGUID getPropertyDescriptionFileGUID() const#
Return value
Current GUID of the property file.getNodeDescriptionID() const#
Return value
Current ID of the node.const char * getNodeDescriptionName() const#
Return value
Current name of the node.const char * getNodePropertyDescriptionName() const#
Return value
Current name of the node property.getNodePropertyDescriptionIndex() const#
Return value
Current index of the property in the list of properties assigned to the node.const char * getSurfaceDescriptionName() const#
Return value
Current name of the surface.getSurfaceDescriptionIndex() const#
Return value
Current number of the surface in the list of object's surfaces.void setParameterPath ( string path ) #
Arguments
- string path - The property parameter path/name in the property.
const char * getParameterPath() const#
Return value
Current property parameter path/name in the property.Node getNode() const#
Return value
Current node with a property to which the animated parameter belongs.Property getProperty() const#
Return value
Current property to which the animated parameter belongs.PropertyParameter getPropertyParameter() const#
Return value
Current animated property parameter.AnimationBindPropertyParameter ( ) #
Constructor. Creates an empty property parameter binding.void setPropertyDescription ( UGUID guid, UGUID file_guid ) #
Sets the description components of the animated property parameter. This method is used if the access mode is set to ANIMATION_BIND_PROPERTY_PARAMETER_ACCESS_FROM_ASSET.Arguments
- UGUID guid - GUID of the property to which the animated parameter belongs.
- UGUID file_guid - GUID of the file describing the property to which the animated parameter belongs.
void setNodeDescription ( int id, string name ) #
Sets the description components of the animated property parameter. This method is used if the access mode is set to ANIMATION_BIND_PROPERTY_PARAMETER_ACCESS_FROM_NODE.Arguments
- int id - ID of the node property, to which the animated parameter belongs.
- string name - name of the node, to which a property with the animated parameter belongs.
void setNodePropertyDescription ( string name, int index ) #
Sets the description components of the animated property parameter. This method is used if the access mode is set to ANIMATION_BIND_PROPERTY_PARAMETER_ACCESS_FROM_ASSET or ANIMATION_BIND_PROPERTY_PARAMETER_ACCESS_FROM_SURFACE.Arguments
- string name - Name of the property, to which the animated parameter belongs.
- int index - index of the property, to which the animated parameter belongs.
void setSurfaceDescription ( string name, int index ) #
Sets the description components of the animated property parameter. This method is used if the access mode is set to ANIMATION_BIND_PROPERTY_PARAMETER_ACCESS_FROM_SURFACE.Arguments
- string name - number of the surface, to which a property with the animated parameter is assigned.
- int index - number of the surface, to which a property with the animated parameter is assigned.
The information on this page is valid for UNIGINE 2.20 SDK.