Anim 0.1
|
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>
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) |
![]() | |
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 | |
![]() | |
NodeBase (NodeBase const &other)=delete | |
NodeBase & | operator= (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... | |
![]() | |
std::string const | Name |
![]() | |
static AnimatedMesh const & | GetMeshObject (AnimationBlendTree const &blendTree) |
![]() | |
NodeBase const *const | parent_ {} |
AnimationBlendTree & | blend_tree_ |
AnimatedMesh const & | mesh_object_ref_ |
A blend tree node that may have children. Nodes can inherit from this class to create a specialised non-leaf node.