class
#include <Magnum/Trade/AnimationData.h>
AnimationTrackData 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() explicit noexcept
- Default constructor.
-
AnimationTrackData(AnimationTrackType type,
AnimationTrackType resultType,
AnimationTrackTargetType targetType,
UnsignedLong target,
Animation::
TrackViewStorage<const Float> view) explicit noexcept - Type-erased constructor.
-
AnimationTrackData(AnimationTrackType type,
AnimationTrackTargetType targetType,
UnsignedLong target,
Animation::
TrackViewStorage<const Float> view) explicit noexcept -
template<class V, class R>AnimationTrackData(AnimationTrackTargetType targetType, UnsignedLong target, Animation::
TrackView<const Float, const V, R> view) explicit noexcept new in 2020.06 - Constructor.
Function documentation
Magnum:: Trade:: AnimationTrackData:: AnimationTrackData() explicit 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,
UnsignedLong target,
Animation:: TrackViewStorage<const Float> view) explicit noexcept
Type-erased constructor.
Parameters | |
---|---|
type | Value type |
resultType | Result type |
targetType | Track target type |
target | Track target |
view | Type-erased Animation:: |
Magnum:: Trade:: AnimationTrackData:: AnimationTrackData(AnimationTrackType type,
AnimationTrackTargetType targetType,
UnsignedLong target,
Animation:: TrackViewStorage<const Float> view) explicit 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.
template<class V, class R>
Magnum:: Trade:: AnimationTrackData:: AnimationTrackData(AnimationTrackTargetType targetType,
UnsignedLong target,
Animation:: TrackView<const Float, const V, R> view) explicit noexcept new in 2020.06
Constructor.
Parameters | |
---|---|
targetType | Track target type |
target | Track target |
view | Animation:: |
Detects AnimationTrackType from view
type and delegates to AnimationTrackData(AnimationTrackType, AnimationTrackType, AnimationTrackTargetType, UnsignedLong, Animation::