Anim 0.1
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | Friends | List of all members
AnimationSystem::Mesh::BlendTree::TwoAnimatorsLinearTransitionNode Class Reference

Node that has two children, both of which are animation nodes, that can perform a transition between them. More...

#include <TwoAnimatorsLinearTransitionNode.h>

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

Classes

struct  DataBlock
 

Public Member Functions

void InvertAnimatorBlend () override
 Swap the blend values of each animator. More...
 
- Public Member Functions inherited from AnimationSystem::Mesh::BlendTree::LinearBlendNode
virtual void InvertAnimatorBlend ()
 Swap the blend values of each animator. More...
 
template<typename T >
ValueResult< std::reference_wrapper< T > > CreateOrReplaceFirstChild (string const &name)
 Creates a new node of type T in the tree with the name provided, this will become the first of two children. More...
 
template<typename T >
ValueResult< std::reference_wrapper< T > > CreateOrReplaceSecondChild (string const &name)
 Creates a new node of type T in the tree with the name provided, this will become the second of two children. More...
 
- 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...
 

Protected Member Functions

PureResult SetChild (int const index, std::unique_ptr< NodeBase > &&node) override
 
ValueResult< gef::SkeletonPose > Update (float const deltaTime, vector< gef::SkeletonPose > &&childPoseResults) override
 
PureResult ApplyDelegate (AnimationSwapTransition const &transition)
 
PureResult Sync ()
 
- Protected Member Functions inherited from AnimationSystem::Mesh::BlendTree::LinearBlendNode
 LinearBlendNode (string const &name, NodeBase const *parent, AnimationBlendTree &animationBlendTree)
 
 LinearBlendNode (string const &name, NodeBase const *parent, AnimationBlendTree &animationBlendTree, std::unique_ptr< DataBlock > data)
 
ValueResult< gef::SkeletonPose > Update (float const deltaTime, vector< gef::SkeletonPose > &&childPoseResults) override
 
- Protected Member Functions inherited from AnimationSystem::Mesh::BlendTree::RegularNode
 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 NodeFactory
 

Additional Inherited Members

- Public Types inherited from AnimationSystem::Mesh::BlendTree::LinearBlendNode
enum class  ChildNodes { First = 0 , Second = 1 }
 
- 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

Node that has two children, both of which are animation nodes, that can perform a transition between them.

Member Function Documentation

◆ InvertAnimatorBlend()

void AnimationSystem::Mesh::BlendTree::TwoAnimatorsLinearTransitionNode::InvertAnimatorBlend ( )
inlineoverridevirtual

Swap the blend values of each animator.

Reimplemented from AnimationSystem::Mesh::BlendTree::LinearBlendNode.

◆ SetChild()

PureResult AnimationSystem::Mesh::BlendTree::TwoAnimatorsLinearTransitionNode::SetChild ( int const  index,
std::unique_ptr< NodeBase > &&  node 
)
inlineoverrideprotectedvirtual

◆ Update()

ValueResult< gef::SkeletonPose > AnimationSystem::Mesh::BlendTree::TwoAnimatorsLinearTransitionNode::Update ( float const  deltaTime,
vector< gef::SkeletonPose > &&  childPoseResults 
)
inlineoverrideprotectedvirtual

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