Anim 0.1
Loading...
Searching...
No Matches
Protected Member Functions | Friends | List of all members
AnimationSystem::Mesh::BlendTree::RegularNode Class Referenceabstract

A blend tree node that may have children. Nodes can inherit from this class to create a specialised non-leaf node. More...

#include <RegularNode.h>

Inheritance diagram for AnimationSystem::Mesh::BlendTree::RegularNode:
Collaboration diagram for AnimationSystem::Mesh::BlendTree::RegularNode:

Protected Member Functions

 RegularNode (string const &name, NodeBase const *parent, AnimationBlendTree &animationBlendTree, unique_ptr< DataBlockBase > dataBlock)
 
virtual ValueResult< gef::SkeletonPose > Update (float deltaTime, vector< gef::SkeletonPose > &&childPoseResults)=0
 
template<typename T >
ValueResult< std::reference_wrapper< T > > CreateAndSetChild (NodeBase &parent, int index, string const &name)
 
virtual PureResult SetChild (int const index, std::unique_ptr< NodeBase > &&node)
 
template<typename T >
ValueResult< std::reference_wrapper< T > > GetChild (int index)
 
- Protected Member Functions inherited from AnimationSystem::Mesh::BlendTree::NodeBase
template<typename T >
T & GetData () const
 Gets the DataBlock of this node.
 
PureResult RegisterSelf ()
 
 NodeBase (string name, NodeBase const *parent, AnimationBlendTree &blendTree, unique_ptr< DataBlockBase > dataBlock)
 

Friends

class Tree
 

Additional Inherited Members

- Public Member Functions inherited from AnimationSystem::Mesh::BlendTree::NodeBase
 NodeBase (NodeBase const &other)=delete
 
NodeBaseoperator= (NodeBase const &other)=delete
 
template<typename T >
ValueResult< std::reference_wrapper< T > > ModifyData () const
 Gets the DataBlock of this node allowing the data to be queried / modified. More...
 
- Public Attributes inherited from AnimationSystem::Mesh::BlendTree::NodeBase
std::string const Name
 
- Static Protected Member Functions inherited from AnimationSystem::Mesh::BlendTree::NodeBase
static AnimatedMesh const & GetMeshObject (AnimationBlendTree const &blendTree)
 
- Protected Attributes inherited from AnimationSystem::Mesh::BlendTree::NodeBase
NodeBase const *const parent_ {}
 
AnimationBlendTreeblend_tree_
 
AnimatedMesh const & mesh_object_ref_
 

Detailed Description

A blend tree node that may have children. Nodes can inherit from this class to create a specialised non-leaf node.


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