Interface IAnimationSamplerT

IAnimationSampler<T> interface

Represents an interface to a curve made of time-value points.

public interface IAnimationSampler<T>
ParameterDescription
TThe curve point value type.

Properties

NameDescription
InterpolationMode { get; }Gets a value indicating the interpolation being used. If the value is STEP or LINEAR, GetLinearKeys should be used. If the value is CUBICSPLINE, GetCubicKeys should be used.

Methods

NameDescription
CreateCurveSampler(bool)Creates an interpolation sampler that can be used to query the value of the curve at any time.
GetCubicKeys()Gets the cubic animation entries fot CUBICSPLINE mode.
GetLinearKeys()Gets the linear animation entries for STEP and LINEAR modes.

See Also