Tizen Native API  5.5
Dali::AnimatablePropertyRegistration Class Reference

Registers an animatable property for the given type. More...

Public Member Functions

 AnimatablePropertyRegistration (TypeRegistration &registered, const std::string &name, Property::Index index, Property::Type type)
 This constructor registers the animatable property with the registered type.
 AnimatablePropertyRegistration (TypeRegistration &registered, const std::string &name, Property::Index index, const Property::Value &value)
 This constructor registers the animatable property with the registered default value.

Detailed Description

Registers an animatable property for the given type.

Since:
2.4, DALi version 1.0.0

Constructor & Destructor Documentation

This constructor registers the animatable property with the registered type.

This constructor is for 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 property
[in]indexThe property index. Must be a value between ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX and ANIMATABLE_PROPERTY_REGISTRATION_MAX_INDEX inclusive
[in]typeThe property value type
Precondition:
"registered" must be registered with the TypeRegistry.
Dali::AnimatablePropertyRegistration::AnimatablePropertyRegistration ( TypeRegistration registered,
const std::string &  name,
Property::Index  index,
const Property::Value value 
)

This constructor registers the animatable property with the registered default value.

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

Since:
3.0, DALi version 1.1.18
Parameters:
[in]registeredThe TypeRegistration object
[in]nameThe name of the property
[in]indexThe property index. Must be a value between ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX and ANIMATABLE_PROPERTY_REGISTRATION_MAX_INDEX inclusive
[in]valueThe property default value
Precondition:
"registered" must be registered with the TypeRegistry.