Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
Dali::Internal::RotateToQuaternion Struct Reference

#include <scene-graph-animator.h>

Inheritance diagram for Dali::Internal::RotateToQuaternion:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::RotateToQuaternion:
Collaboration graph
[legend]

Public Member Functions

 RotateToQuaternion (const Quaternion &targetValue)
 
Quaternion operator() (float alpha, const Quaternion &rotation)
 
- Public Member Functions inherited from Dali::Internal::AnimatorFunctionBase
 AnimatorFunctionBase ()
 Constructor. More...
 
virtual ~AnimatorFunctionBase ()
 
virtual bool operator() (float progress, const bool &property)
 Stub "()" operators. More...
 
virtual float operator() (float progress, const int &property)
 
virtual float operator() (float progress, const unsigned int &property)
 
virtual float operator() (float progress, const float &property)
 
virtual Vector2 operator() (float progress, const Vector2 &property)
 
virtual Vector3 operator() (float progress, const Vector3 &property)
 
virtual Vector4 operator() (float progress, const Vector4 &property)
 

Public Attributes

Quaternion mTarget
 

Detailed Description

Definition at line 827 of file scene-graph-animator.h.

Constructor & Destructor Documentation

Dali::Internal::RotateToQuaternion::RotateToQuaternion ( const Quaternion targetValue)
inline

Definition at line 829 of file scene-graph-animator.h.

Member Function Documentation

Quaternion Dali::Internal::RotateToQuaternion::operator() ( float  alpha,
const Quaternion rotation 
)
inlinevirtual

Reimplemented from Dali::Internal::AnimatorFunctionBase.

Definition at line 834 of file scene-graph-animator.h.

References mTarget, and Dali::Quaternion::Slerp().

Here is the call graph for this function:

Member Data Documentation

Quaternion Dali::Internal::RotateToQuaternion::mTarget

Definition at line 839 of file scene-graph-animator.h.

Referenced by operator()().


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