Tizen Native API  3.0
Dali::AnimatablePropertyComponentRegistration Class Reference

Registers a component of animatable property for the given component index. More...

Public Member Functions

 AnimatablePropertyComponentRegistration (TypeRegistration &registered, const std::string &name, Property::Index index, Property::Index baseIndex, unsigned int componentIndex)
 This constructor registers a component of an animatable property where the base animatable property must be a property that supports property component (i.e. Vector2, Vector3 or Vector4) and the base animatable property must have been registered.

Detailed Description

Registers a component of animatable property for the given component index.

Since:
2.4, DALi version 1.0.0

Constructor & Destructor Documentation

Dali::AnimatablePropertyComponentRegistration::AnimatablePropertyComponentRegistration ( TypeRegistration registered,
const std::string &  name,
Property::Index  index,
Property::Index  baseIndex,
unsigned int  componentIndex 
)

This constructor registers a component of an animatable property where the base animatable property must be a property that supports property component (i.e. Vector2, Vector3 or Vector4) and the base animatable property must have been registered.

This constructor is for a component of scene-graph only properties where the value of the property can be retrieved and set via specified functions.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]registeredThe TypeRegistration object
[in]nameThe name of the component
[in]indexThe property index. Must be a value between ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX and ANIMATABLE_PROPERTY_REGISTRATION_MAX_INDEX inclusive
[in]baseIndexThe index of the base animatable property. Must be a value between ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX and ANIMATABLE_PROPERTY_REGISTRATION_MAX_INDEX inclusive
[in]componentIndexThe index of the component (e.g. 0 for the x component of a Vector2 property and 1 for the y component of a Vector2 property)
Precondition:
"registered" must be registered with the TypeRegistry.