Tizen Native API
4.0
|
Dali::AnimatablePropertyRegistration Class Reference
Registers an animatable property for the given type. More...
Public Member Functions | |
AnimatablePropertyRegistration (TypeRegistration ®istered, const std::string &name, Property::Index index, Property::Type type) | |
This constructor registers the animatable property with the registered type. | |
AnimatablePropertyRegistration (TypeRegistration ®istered, 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
Dali::AnimatablePropertyRegistration::AnimatablePropertyRegistration | ( | TypeRegistration & | registered, |
const std::string & | name, | ||
Property::Index | index, | ||
Property::Type | type | ||
) |
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] registered The TypeRegistration object [in] name The name of the property [in] index The property index. Must be a value between ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX and ANIMATABLE_PROPERTY_REGISTRATION_MAX_INDEX inclusive [in] type The 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] registered The TypeRegistration object [in] name The name of the property [in] index The property index. Must be a value between ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX and ANIMATABLE_PROPERTY_REGISTRATION_MAX_INDEX inclusive [in] value The property default value
- Precondition:
- "registered" must be registered with the TypeRegistry.