Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ GetAnimation
Function
GetAnimation
engine/rig/src/rig.cpp:180–184 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
178
}
179
180
dmhash_t GetAnimation(HRigInstance instance)
181
{
182
RigPlayer* player = GetPlayer(instance);
183
return player->m_AnimationId;
184
}
185
186
dmhash_t GetModel(HRigInstance instance)
187
{
Callers
3
TEST_F
Function · 0.50
CompModelGetProperty
Function · 0.50
GetEmitterAnimation
Function · 0.50
Calls
1
GetPlayer
Function · 0.85
Tested by
1
TEST_F
Function · 0.40