Tizen Native API  6.5
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 &current, const PropertyInputContainer &inputs)
 Overrides functor for float properties.
void operator() (Vector2 &current, const PropertyInputContainer &inputs)
 Overrides functor for Vector2 properties.
void operator() (Vector3 &current, const PropertyInputContainer &inputs)
 Overrides functor for Vector3 properties.
void operator() (Vector4 &current, const PropertyInputContainer &inputs)
 Overrides functor for Vector4 properties.
void operator() (Quaternion &current, const PropertyInputContainer &inputs)
 Overrides functor for Quaternion properties.
void operator() (Matrix3 &current, const PropertyInputContainer &inputs)
 Overrides functor for Matrix3 properties.
void operator() (Matrix &current, 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]currentThe current property value, the constrained value is set
[in]inputsContains 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]currentThe current property value, the constrained value is set
[in]inputsContains 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]currentThe current property value, the constrained value is set
[in]inputsContains 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]currentThe current property value, the constrained value is set
[in]inputsContains 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]currentThe current property value, the constrained value is set
[in]inputsContains 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]currentThe current property value
[in]inputsContains 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]currentThe current property value, the constrained value is set
[in]inputsContains the property to copy