MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / restoreBlendAnimation

Method restoreBlendAnimation

Engine/source/T3D/shapeBase.cpp:5178–5192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5176}
5177
5178void ShapeBase::restoreBlendAnimation(U32 tag)
5179{
5180 for (S32 i = 0; i < blend_clips.size(); i++)
5181 {
5182 if (blend_clips[i].tag == tag)
5183 {
5184 if (blend_clips[i].thread)
5185 {
5186 mShapeInstance->destroyThread(blend_clips[i].thread);
5187 }
5188 blend_clips.erase_fast(i);
5189 break;
5190 }
5191 }
5192}
5193
5194//
5195

Callers

nothing calls this directly

Calls 3

erase_fastMethod · 0.80
sizeMethod · 0.45
destroyThreadMethod · 0.45

Tested by

no test coverage detected