Tizen Native API
5.5
|
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) |
Overrides functor for float properties. | |
void | operator() (Vector2 ¤t, const PropertyInputContainer &inputs) |
Overrides functor for Vector2 properties. | |
void | operator() (Vector3 ¤t, const PropertyInputContainer &inputs) |
Overrides functor for Vector3 properties. | |
void | operator() (Vector4 ¤t, const PropertyInputContainer &inputs) |
Overrides functor for Vector4 properties. | |
void | operator() (Quaternion ¤t, const PropertyInputContainer &inputs) |
Overrides functor for Quaternion properties. | |
void | operator() (Matrix3 ¤t, const PropertyInputContainer &inputs) |
Overrides functor for Matrix3 properties. | |
void | operator() (Matrix ¤t, const PropertyInputContainer &inputs) |
Overrides 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:
- 3.0, DALi version 1.0.0
Constructor & Destructor Documentation
Constructor.
- Since:
- 3.0, DALi version 1.0.0
Member Function Documentation
void Dali::EqualToConstraint::operator() | ( | float & | current, |
const PropertyInputContainer & | inputs | ||
) |
Overrides functor for float properties.
- Since:
- 3.0, DALi version 1.0.0
- 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 | ||
) |
Overrides functor for Vector2 properties.
- Since:
- 3.0, DALi version 1.0.0
- 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 | ||
) |
Overrides functor for Vector3 properties.
- Since:
- 3.0, DALi version 1.0.0
- 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 | ||
) |
Overrides functor for Vector4 properties.
- Since:
- 3.0, DALi version 1.0.0
- 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 | ||
) |
Overrides functor for Quaternion properties.
- Since:
- 3.0, DALi version 1.0.0
- 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 | ||
) |
Overrides functor for Matrix3 properties.
- Since:
- 3.0, DALi version 1.0.0
- Parameters:
-
[in,out] current The current property value [in] inputs Contains the property to copy
void Dali::EqualToConstraint::operator() | ( | Matrix & | current, |
const PropertyInputContainer & | inputs | ||
) |
Overrides functor for Matrix properties.
- Since:
- 3.0, DALi version 1.0.0
- Parameters:
-
[in,out] current The current property value, the constrained value is set [in] inputs Contains the property to copy