AnimationState Struct Reference

Description

Contains information about a single playing animation clip.

Fields

SPtr< AnimationCurvescurves
 All curves in the animation clip. More...
 
AnimationCurveMappingboneToCurveMapping
 Mapping of bone indices to curve indices for quick lookup . More...
 
AnimationCurveMappingsoToCurveMapping
 Mapping of scene object indices to curve indices for quick lookup. More...
 
TCurveCache< Vector3 > * positionCaches
 Cache used for evaluating position curves. More...
 
TCurveCache< Quaternion > * rotationCaches
 Cache used for evaluating rotation curves. More...
 
TCurveCache< Vector3 > * scaleCaches
 Cache used for evaluating scale curves. More...
 
TCurveCache< float > * genericCaches
 Cache used for evaluating generic curves. More...
 
float time
 Time to evaluate the curve at. More...
 
float weight
 Determines how much of an influence will this clip have in regard to others in the same layer. More...
 
bool loop
 Determines should the animation loop (wrap) once ending or beginning frames are passed. More...
 
bool disabled
 If true the clip state will not be evaluated. More...
 

Member Data Documentation

AnimationCurveMapping* boneToCurveMapping

Mapping of bone indices to curve indices for quick lookup .

All curves in the animation clip.

bool disabled

If true the clip state will not be evaluated.

TCurveCache<float>* genericCaches

Cache used for evaluating generic curves.

bool loop

Determines should the animation loop (wrap) once ending or beginning frames are passed.

TCurveCache<Vector3>* positionCaches

Cache used for evaluating position curves.

TCurveCache<Quaternion>* rotationCaches

Cache used for evaluating rotation curves.

TCurveCache<Vector3>* scaleCaches

Cache used for evaluating scale curves.

AnimationCurveMapping* soToCurveMapping

Mapping of scene object indices to curve indices for quick lookup.

float time

Time to evaluate the curve at.

float weight

Determines how much of an influence will this clip have in regard to others in the same layer.