Anim 0.1
|
Node that has two children, both of which are animation nodes, that can perform a transition between them. More...
#include <TwoAnimatorsLinearTransitionNode.h>
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 | |
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... | |
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_ {} |
AnimationBlendTree & | blend_tree_ |
AnimatedMesh const & | mesh_object_ref_ |
Node that has two children, both of which are animation nodes, that can perform a transition between them.
|
inlineoverridevirtual |
Swap the blend values of each animator.
Reimplemented from AnimationSystem::Mesh::BlendTree::LinearBlendNode.
|
inlineoverrideprotectedvirtual |
Reimplemented from AnimationSystem::Mesh::BlendTree::RegularNode.
|
inlineoverrideprotectedvirtual |
Reimplemented from AnimationSystem::Mesh::BlendTree::LinearBlendNode.