Isolates the tree interface.
More...
#include <Tree.h>
|
| Tree (AnimationBlendTree &blendTree) |
|
RootNode & | GetRoot () const |
|
template<typename T > |
ValueResult< std::reference_wrapper< T > > | 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. More...
|
|
template<typename T > |
ValueResult< std::reference_wrapper< T > > | ModifyData (string const &owningNodeName) |
| Gets the DataBlock of a node allowing the data to be queried / modified. More...
|
|
|
class | AnimationSystem::Mesh::AnimationBlendTree |
|
Isolates the tree interface.
◆ GetNode()
template<typename T >
ValueResult< std::reference_wrapper< T > > AnimationSystem::Mesh::BlendTree::Tree::GetNode |
( |
string const & |
name | ) |
|
|
inline |
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 |
◆ GetRoot()
RootNode & AnimationSystem::Mesh::BlendTree::Tree::GetRoot |
( |
| ) |
const |
|
inline |
- Returns
- The root node of the tree, can be used to create child nodes within the tree
◆ ModifyData()
template<typename T >
ValueResult< std::reference_wrapper< T > > AnimationSystem::Mesh::BlendTree::Tree::ModifyData |
( |
string const & |
owningNodeName | ) |
|
|
inline |
Gets the DataBlock of a node allowing the data to be queried / modified.
- Template Parameters
-
T | The type of the DataBlock. Note this must inherit from DataBlockBase |
- Parameters
-
owningNodeName | The name of the node that contains the data block |
The documentation for this class was generated from the following file:
- C:/Users/Jay Bretherton/Documents/GitHub/418/Projects/animated_mesh/build/vs2017/AnimationSystemMesh/BlendTree/Tree.h