Magnum::Trade::AnimationTrackData class

Animation track data.

Convenience type for populating AnimationData. Has no accessors, as the data are then accessible through AnimationData APIs.

Constructors, destructors, conversion operators

AnimationTrackData() noexcept
Default constructor.
AnimationTrackData(AnimationTrackType type, AnimationTrackType resultType, AnimationTrackTargetType targetType, UnsignedInt target, Animation::TrackViewStorage<Float> view) noexcept
Constructor.
AnimationTrackData(AnimationTrackType type, AnimationTrackTargetType targetType, UnsignedInt target, Animation::TrackViewStorage<Float> view) noexcept

Function documentation

Magnum::Trade::AnimationTrackData::AnimationTrackData() noexcept

Default constructor.

Leaves contents at unspecified values. Provided as a convenience for initialization of the track array for AnimationData, expected to be replaced with concrete values later.

Magnum::Trade::AnimationTrackData::AnimationTrackData(AnimationTrackType type, AnimationTrackType resultType, AnimationTrackTargetType targetType, UnsignedInt target, Animation::TrackViewStorage<Float> view) noexcept

Constructor.

Parameters
type Value type
resultType Result type
targetType Track target type
target Track target
view Type-erased Animation::TrackView instance

Magnum::Trade::AnimationTrackData::AnimationTrackData(AnimationTrackType type, AnimationTrackTargetType targetType, UnsignedInt target, Animation::TrackViewStorage<Float> view) noexcept

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Equivalent to the above with type used as both value type and result type.