XII Release 0.1.0
Loading...
Searching...
No Matches
xiiAnimGraphNode Class Referenceabstract

Base class for all nodes in a xiiAnimGraphInstance. More...

#include <AnimGraphNode.h>

Inheritance diagram for xiiAnimGraphNode:
[legend]

Public Member Functions

const char * GetCustomNodeTitle () const
 
void SetCustomNodeTitle (const char *szSz)
 
- Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTIGetDynamicRTTI () 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 Public Member Functions inherited from xiiNoBase
static const xiiRTTIGetStaticRTTI ()
 

Detailed Description

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.


The documentation for this class was generated from the following files: