struct TKeyframe

template<class T>

Animation keyframe, represented as an endpoint of a cubic hermite spline.

Public

Fields

Value

T Value

Value of the key.

InTangent

T InTangent

Input tangent (going from the previous key to this one) of the key.

OutTangent

T OutTangent

Output tangent (going from this key to next one) of the key.

Time

float Time

Position of the key along the animation spline.

Value

i32 Value

Value of the key.

Time

float Time

Position of the key along the animation spline.

Value

float Value

Value of the key.

InTangent

float InTangent

Input tangent (going from the previous key to this one) of the key.

OutTangent

float OutTangent

Output tangent (going from this key to next one) of the key.

Time

float Time

Position of the key along the animation spline.

Value

TVector3<float> Value

Value of the key.

InTangent

TVector3<float> InTangent

Input tangent (going from the previous key to this one) of the key.

OutTangent

TVector3<float> OutTangent

Output tangent (going from this key to next one) of the key.

Time

float Time

Position of the key along the animation spline.

Value

TVector2<float> Value

Value of the key.

InTangent

TVector2<float> InTangent

Input tangent (going from the previous key to this one) of the key.

OutTangent

TVector2<float> OutTangent

Output tangent (going from this key to next one) of the key.

Time

float Time

Position of the key along the animation spline.

Value

TQuaternion<float> Value

Value of the key.

InTangent

TQuaternion<float> InTangent

Input tangent (going from the previous key to this one) of the key.

OutTangent

TQuaternion<float> OutTangent

Output tangent (going from this key to next one) of the key.

Time

float Time

Position of the key along the animation spline.

Operators

operator==

bool operator==(const TKeyframe<T> &rhs) const

operator!=

bool operator!=(const TKeyframe<T> &rhs) const

operator==

bool operator==(const TKeyframe<i32> &rhs) const

operator!=

bool operator!=(const TKeyframe<i32> &rhs) const

operator==

bool operator==(const TKeyframe<float> &rhs) const

operator!=

bool operator!=(const TKeyframe<float> &rhs) const

operator==

bool operator==(const TKeyframe<TVector3<float>> &rhs) const

operator!=

bool operator!=(const TKeyframe<TVector3<float>> &rhs) const

operator==

bool operator==(const TKeyframe<TVector2<float>> &rhs) const

operator!=

bool operator!=(const TKeyframe<TVector2<float>> &rhs) const

operator==

bool operator==(const TKeyframe<TQuaternion<float>> &rhs) const

operator!=

bool operator!=(const TKeyframe<TQuaternion<float>> &rhs) const