All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kanzi::KeyframeAnimation< TValueType >::SplineKeyframe Class Reference

#include <kanzi/animation/keyframe_animation.hpp>

Inheritance diagram for kanzi::KeyframeAnimation< TValueType >::SplineKeyframe:
kanzi::KeyframeAnimation< TValueType >::Keyframe

Public Member Functions

void setControlPoints (const Vector2 &p0, const Vector2 &p1)
 
Vector2 getControlPoint0 () const
 
void setControlPoint0 (Vector2 controlPoint)
 
Vector2 getControlPoint1 () const
 
void setControlPoint1 (Vector2 controlPoint)
 
virtual TValueType getValue (const TValueType &currentValue, float normalizedTime) KZ_OVERRIDE
 
- Public Member Functions inherited from kanzi::KeyframeAnimation< TValueType >::Keyframe
virtual ~Keyframe ()
 
TValueType getKeyValue () const
 
void setKeyValue (const TValueType &keyValue)
 

Member Function Documentation

template<typename TValueType >
void kanzi::KeyframeAnimation< TValueType >::SplineKeyframe::setControlPoints ( const Vector2 p0,
const Vector2 p1 
)
inline
template<typename TValueType >
Vector2 kanzi::KeyframeAnimation< TValueType >::SplineKeyframe::getControlPoint0 ( ) const
inline
template<typename TValueType >
void kanzi::KeyframeAnimation< TValueType >::SplineKeyframe::setControlPoint0 ( Vector2  controlPoint)
inline
template<typename TValueType >
Vector2 kanzi::KeyframeAnimation< TValueType >::SplineKeyframe::getControlPoint1 ( ) const
inline
template<typename TValueType >
void kanzi::KeyframeAnimation< TValueType >::SplineKeyframe::setControlPoint1 ( Vector2  controlPoint)
inline
template<typename TValueType >
virtual TValueType kanzi::KeyframeAnimation< TValueType >::SplineKeyframe::getValue ( const TValueType &  currentValue,
float  normalizedTime 
)
inlinevirtual

The documentation for this class was generated from the following file: