![]() |
XII Release 0.1.0
|
Base class for all nodes in a xiiAnimGraphInstance. More...
#include <AnimGraphNode.h>
Public Member Functions | |
const char * | GetCustomNodeTitle () const |
void | SetCustomNodeTitle (const char *szSz) |
![]() | |
virtual const xiiRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const xiiRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T> | |
XII_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Protected Member Functions | |
virtual xiiResult | SerializeNode (xiiStreamWriter &stream) const =0 |
virtual xiiResult | DeserializeNode (xiiStreamReader &stream)=0 |
virtual void | Step (xiiAnimController &ref_controller, xiiAnimGraphInstance &ref_graph, xiiTime tDiff, const xiiSkeletonResource *pSkeleton, xiiGameObject *pTarget) const =0 |
virtual bool | GetInstanceDataDesc (xiiInstanceDataDesc &out_desc) const |
Protected Attributes | |
xiiHashedString | m_sCustomNodeTitle |
xiiUInt32 | m_uiInstanceDataOffset = xiiInvalidIndex |
Friends | |
class | xiiAnimGraphInstance |
class | xiiAnimGraph |
class | xiiAnimGraphResource |
Additional Inherited Members | |
![]() | |
static const xiiRTTI * | GetStaticRTTI () |
Base class for all nodes in a xiiAnimGraphInstance.
These nodes are used to configure which skeletal animations can be played on an object, and how they would be played back exactly. The nodes implement different functionality. For example logic nodes are used to figure out how to play an animation, other nodes then sample and combining animation poses, and yet other nodes can inform the user about events or they write state back to the animation graph's blackboard.