RavEngine
Loading...
Searching...
No Matches
RavEngine::AnimBlendTree::Node Struct Reference
Inheritance diagram for RavEngine::AnimBlendTree::Node:
[legend]
Collaboration diagram for RavEngine::AnimBlendTree::Node:
[legend]

Public Member Functions

template<typename T >
 Node (Ref< T > s, const clamped_vec2 &pos, float i=1)
 
bool Sample (float t, float start, float speed, bool looping, ozz::vector< ozz::math::SoaTransform > &, ozz::animation::SamplingJob::Context &cache, const ozz::animation::Skeleton *skeleton) const override
 

Public Attributes

Ref< IAnimGraphable > state
 
clamped_vec2 graph_pos
 
float max_influence = 1
 

Member Function Documentation

◆ Sample()

bool AnimBlendTree::Node::Sample ( float  t,
float  start,
float  speed,
bool  looping,
ozz::vector< ozz::math::SoaTransform > &  output,
ozz::animation::SamplingJob::Context &  cache,
const ozz::animation::Skeleton *  skeleton 
) const
override

Sample the animation curves in this tree

Parameters
tthe time to sample
outputthe vector to write the output transforms to
cachea sampling cache, modified when used

The documentation for this struct was generated from the following files: