The structure containing and managing a blend tree.
More...
#include <AnimationBlendTree.h>
The structure containing and managing a blend tree.
◆ CreateAnimation()
PureResult AnimationSystem::Mesh::AnimationBlendTree::CreateAnimation |
( |
string const & |
animationName, |
|
|
string const & |
filePath, |
|
|
string const & |
nameWithinFile, |
|
|
OptionalConfigOnSetAnimationDelegate && |
configurationDelegate |
|
) |
| |
|
overridevirtual |
Create a new animation for the mesh containing this blend tree.
- Parameters
-
animationName | The name of the animation that will be used to refer to this animation within the application |
filePath | The full filepath of the animation file |
nameWithinFile | (Optional) The name of the animation within the file if the file contains multiple animations |
configurationDelegate | (Optional) A delegate that will be called on the animator running this animation when the animator is set to this animation. Used for initial set-up such as setting the animator to loop on this animation |
- Returns
- The result of the operation
Implements AnimationSystem::Mesh::IMeshTreeAnimator.
◆ CreateNode()
Creates a new node in the tree.
- Template Parameters
-
T | T must inherit from BaseNode or it's derivatives |
◆ GetNode()
template<typename T >
ValueResult< std::reference_wrapper< T > > AnimationSystem::Mesh::AnimationBlendTree::GetNode |
( |
string const & |
name | ) |
|
Get a node of type T with the name provided from the tree. Returns ERROR if such a node does not exist.
- Template Parameters
-
T | T must inherit from BaseNode or it's derivatives |
◆ GetTree()
BlendTree::Tree & AnimationSystem::Mesh::AnimationBlendTree::GetTree |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- C:/Users/Jay Bretherton/Documents/GitHub/418/Projects/animated_mesh/build/vs2017/AnimationSystemMesh/BlendTree/AnimationBlendTree.h
- C:/Users/Jay Bretherton/Documents/GitHub/418/Projects/animated_mesh/build/vs2017/AnimationSystemMesh/BlendTree/AnimationBlendTree.cpp