SceneAnimator
The SceneAnimator class provides an interface for GPU animation configuration.
#include <scene/TellusimSceneAnimator.h>
Constructors
SceneAnimator()
Methods
Animator flags.
Flags getFlags() const
bool hasFlag(Flags flags) const
bool hasFlags(Flags flags) const
String getFlagsName() const
Animator queries.
Query getQuery(QueryType type) const
static const char *getQueryName(QueryType type)
Animation nodes.
void reserveNodes(uint32_t num_nodes)
void clearNodes()
Enums
Flags
Animator flags.
Name | Value | Description |
---|---|---|
FlagNone | 0 | |
FlagQuery | (1 << 0) | Time query profiler. |
FlagCompute | (1 << 1) | Compute animation. |
FlagMotionBuffer | (1 << 2) | Create motion animation. |
DefaultFlags | FlagNone | |
NumFlags | 3 |
QueryType
Query types.
Name | Value | Description |
---|---|---|
QueryFrame | 0 | Object frame blending time. |
QueryNode | 1 | Object node transform time. |
QueryJoint | 2 | Object mesh joint time. |
NumQueries | 3 |