MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / InitNodes

Method InitNodes

Source/Engine/Animations/Graph/AnimGraph.cpp:457–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457void AnimGraphExecutor::InitNodes(AnimGraphImpulse* nodes) const
458{
459 const auto& emptyNodes = Context.Get()->EmptyNodes;
460 Platform::MemoryCopy(nodes->Nodes.Get(), emptyNodes.Nodes.Get(), sizeof(Transform) * _skeletonNodesCount);
461 nodes->RootMotion = emptyNodes.RootMotion;
462 nodes->Position = emptyNodes.Position;
463 nodes->Length = emptyNodes.Length;
464}
465
466void AnimGraphExecutor::ResetBuckets(AnimGraphContext& context, AnimGraphBase* graph)
467{

Callers 2

GetNodesMethod · 0.80

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected