Tizen Native API
|
Dali::EqualToConstraint Struct Reference
The constraint function that updates the target property with the value of the first source. More...
Public Member Functions | |
EqualToConstraint () | |
Constructor. | |
void | operator() (float ¤t, const PropertyInputContainer &inputs) |
Override functor for float properties. | |
void | operator() (Vector2 ¤t, const PropertyInputContainer &inputs) |
Override functor for Vector2 properties. | |
void | operator() (Vector3 ¤t, const PropertyInputContainer &inputs) |
Override functor for Vector3 properties. | |
void | operator() (Vector4 ¤t, const PropertyInputContainer &inputs) |
Override functor for Vector4 properties. | |
void | operator() (Quaternion ¤t, const PropertyInputContainer &inputs) |
Override functor for Quaternion properties. | |
void | operator() (Matrix3 ¤t, const PropertyInputContainer &inputs) |
Override functor for Matrix3 properties. | |
void | operator() (Matrix ¤t, const PropertyInputContainer &inputs) |
Override functor for Matrix properties. |
Detailed Description
The constraint function that updates the target property with the value of the first source.
current = input[0]. current and input[0] indicate the target property and the first constraint source (the one added by the first Constraint::AddSource call), respectively.
- Since :
- 2.4
Constructor & Destructor Documentation
Constructor.
- Since :
- 2.4
Member Function Documentation
void Dali::EqualToConstraint::operator() | ( | float & | current, |
const PropertyInputContainer & | inputs | ||
) |
Override functor for float properties.
- Since :
- 2.4
- Parameters:
-
[in,out] current The current property value, the constrained value is set [in] inputs Contains the property to copy
void Dali::EqualToConstraint::operator() | ( | Vector2 & | current, |
const PropertyInputContainer & | inputs | ||
) |
Override functor for Vector2 properties.
- Since :
- 2.4
- Parameters:
-
[in,out] current The current property value, the constrained value is set [in] inputs Contains the property to copy
void Dali::EqualToConstraint::operator() | ( | Vector3 & | current, |
const PropertyInputContainer & | inputs | ||
) |
Override functor for Vector3 properties.
- Since :
- 2.4
- Parameters:
-
[in,out] current The current property value, the constrained value is set [in] inputs Contains the property to copy
void Dali::EqualToConstraint::operator() | ( | Vector4 & | current, |
const PropertyInputContainer & | inputs | ||
) |
Override functor for Vector4 properties.
- Since :
- 2.4
- Parameters:
-
[in,out] current The current property value, the constrained value is set [in] inputs Contains the property to copy
void Dali::EqualToConstraint::operator() | ( | Quaternion & | current, |
const PropertyInputContainer & | inputs | ||
) |
Override functor for Quaternion properties.
- Since :
- 2.4
- Parameters:
-
[in,out] current The current property value, the constrained value is set [in] inputs Contains the property to copy
void Dali::EqualToConstraint::operator() | ( | Matrix3 & | current, |
const PropertyInputContainer & | inputs | ||
) |
Override functor for Matrix3 properties.
- Since :
- 2.4
- Parameters:
-
[in,out] current The current property value [in] inputs Contains the property to copy
void Dali::EqualToConstraint::operator() | ( | Matrix & | current, |
const PropertyInputContainer & | inputs | ||
) |
Override functor for Matrix properties.
- Since :
- 2.4
- Parameters:
-
[in,out] current The current property value, the constrained value is set [in] inputs Contains the property to copy