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

Current Center Constraint. More...

Public Member Functions

 CurrentCenterConstraint (float pageWidth)
 
void operator() (Vector2 &current, const PropertyInputContainer &inputs)
 

Public Attributes

float mPageWidth
 
float mThres
 

Detailed Description

Current Center Constraint.

This constraint adjusts the current center property of the page turn shader effect based on the pan position and the original center position

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

Constructor & Destructor Documentation

anonymous_namespace{page-turn-view-impl.cpp}::CurrentCenterConstraint::CurrentCenterConstraint ( float  pageWidth)
inline

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

Member Function Documentation

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

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

References Dali::Vector2::x, and Dali::Vector2::y.

Member Data Documentation

float anonymous_namespace{page-turn-view-impl.cpp}::CurrentCenterConstraint::mPageWidth

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

float anonymous_namespace{page-turn-view-impl.cpp}::CurrentCenterConstraint::mThres

Definition at line 176 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