Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
anonymous_namespace{page-turn-view-impl.cpp}::OriginalCenterConstraint Struct Reference

Original Center Constraint. More...

Collaboration diagram for anonymous_namespace{page-turn-view-impl.cpp}::OriginalCenterConstraint:
Collaboration graph

Public Member Functions

 OriginalCenterConstraint (const Vector2 &originalCenter, const Vector2 &offset)
void operator() (Vector2 &current, const PropertyInputContainer &inputs)

Public Attributes

Vector2 mOldCenter
Vector2 mNewCenter
float mDistance
Vector2 mDirection

Detailed Description

Original Center Constraint.

This constraint adjusts the original center property of the page turn shader effect based on the X-direction displacement of the pan gesture

Definition at line 70 of file page-turn-view-impl.cpp.

Constructor & Destructor Documentation

anonymous_namespace{page-turn-view-impl.cpp}::OriginalCenterConstraint::OriginalCenterConstraint ( const Vector2 originalCenter,
const Vector2 offset 

Definition at line 72 of file page-turn-view-impl.cpp.

References offset.

Member Function Documentation

void anonymous_namespace{page-turn-view-impl.cpp}::OriginalCenterConstraint::operator() ( Vector2 current,
const PropertyInputContainer inputs 

Definition at line 80 of file page-turn-view-impl.cpp.

Member Data Documentation

Vector2 anonymous_namespace{page-turn-view-impl.cpp}::OriginalCenterConstraint::mDirection

Definition at line 97 of file page-turn-view-impl.cpp.

float anonymous_namespace{page-turn-view-impl.cpp}::OriginalCenterConstraint::mDistance

Definition at line 96 of file page-turn-view-impl.cpp.

Vector2 anonymous_namespace{page-turn-view-impl.cpp}::OriginalCenterConstraint::mNewCenter

Definition at line 95 of file page-turn-view-impl.cpp.

Vector2 anonymous_namespace{page-turn-view-impl.cpp}::OriginalCenterConstraint::mOldCenter

Definition at line 94 of file page-turn-view-impl.cpp.

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