Magnum::Trade::AnimationTrackData class

Animation track data.

Used when constructing AnimationData. Fields can be accessed through its API.

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 AnimationData structure, 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.