Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BohemiaInteractive/CWR
/ AnimationLength
Method
AnimationLength
engine/Poseidon/Graphics/Textures/TextureBank.cpp:294–301 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
292
}
293
294
int Texture::AnimationLength() const
295
{
296
if (!_inAnimation)
297
{
298
return 1; // no animation
299
}
300
return _inAnimation->Size();
301
}
302
303
Texture* Texture::GetAnimation(int i) const
304
{
Callers
5
SetPhase
Method · 0.80
AnimateTexture
Method · 0.80
DrawMesh
Method · 0.80
PrepareTexture
Function · 0.80
AnimateTexture
Method · 0.80
Calls
1
Size
Method · 0.45
Tested by
no test coverage detected