template<UnsignedInt dimensions, class T>
Magnum::SceneGraph::AnimableGroup class

Group of animables.

See Animable for more information.

Base classes

template<UnsignedInt dimensions, class Feature, class T>
class FeatureGroup<dimensions, Animable<dimensions, T>, T>
Group of features.

Constructors, destructors, conversion operators

AnimableGroup() explicit
Constructor.

Public functions

auto runningCount() const -> std::size_t
Count of running animations.
void step(Float time, Float delta)
Perform animation step.

Function documentation

template<UnsignedInt dimensions, class T>
std::size_t Magnum::SceneGraph::AnimableGroup<dimensions, T>::runningCount() const

Count of running animations.

template<UnsignedInt dimensions, class T>
void Magnum::SceneGraph::AnimableGroup<dimensions, T>::step(Float time, Float delta)

Perform animation step.

Parameters
time Absolute time (e.g. Timeline::previousFrameTime())
delta Time delta for current frame (e.g. Timeline::previousFrameDuration())

If there are no running animations the function does nothing.