Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
anonymous_namespace{utc-Dali-ScrollView.cpp}::TestSumConstraint Struct Reference

TestSumConstraint. More...

Collaboration diagram for anonymous_namespace{utc-Dali-ScrollView.cpp}::TestSumConstraint:
Collaboration graph

Public Member Functions

 TestSumConstraint (const Vector3 &offset)
void operator() (Vector3 &current, const PropertyInputContainer &inputs)

Public Attributes

Vector3 mOffset

Detailed Description


Summation of current value, property, and offset.

current' = current + mOffset + property;

Definition at line 203 of file utc-Dali-ScrollView.cpp.

Constructor & Destructor Documentation

anonymous_namespace{utc-Dali-ScrollView.cpp}::TestSumConstraint::TestSumConstraint ( const Vector3 offset)
[in]offsetThe offset to be added to current.

Definition at line 208 of file utc-Dali-ScrollView.cpp.

Member Function Documentation

void anonymous_namespace{utc-Dali-ScrollView.cpp}::TestSumConstraint::operator() ( Vector3 current,
const PropertyInputContainer inputs 
[in]currentThe current base value
[in]inputsContains the property to be added to current.
The new current Vector.

Definition at line 218 of file utc-Dali-ScrollView.cpp.

References anonymous_namespace{utc-Dali-ScrollView.cpp}::gConstraintResult, and GetVector2().

Here is the call graph for this function:

Member Data Documentation

Vector3 anonymous_namespace{utc-Dali-ScrollView.cpp}::TestSumConstraint::mOffset

Definition at line 224 of file utc-Dali-ScrollView.cpp.

The documentation for this struct was generated from the following file:
Dali Docs Home
Read more about Dali