| 157 | } |
| 158 | |
| 159 | AnimGraphImpulse* AnimGraphNode::GetNodes(AnimGraphExecutor* executor) |
| 160 | { |
| 161 | auto& context = *AnimGraphExecutor::Context.Get(); |
| 162 | const int32 count = executor->_skeletonNodesCount; |
| 163 | if (context.PoseCacheSize == context.PoseCache.Count()) |
| 164 | context.PoseCache.AddOne(); |
| 165 | auto& nodes = context.PoseCache[context.PoseCacheSize++]; |
| 166 | nodes.Nodes.Resize(count, false); |
| 167 | return &nodes; |
| 168 | } |
| 169 | |
| 170 | AnimGraphImpulse* AnimGraphNode::GetNodes(AnimGraphExecutor* executor, Variant& input) |
| 171 | { |
no test coverage detected