OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TextureFrameTable Struct Reference

#include <TextureFrameTable.h>

Public Member Functions

GraphicsImageGetFrameTexture (int64_t frameId, Duration offset)
 
Duration textureFrameAnimLength (int64_t frameID)
 
Duration textureFrameAnimTime (int64_t frameID)
 
int64_t FindTextureByName (std::string_view Str2)
 

Public Attributes

std::vector< TextureFrametextures
 

Member Function Documentation

◆ FindTextureByName()

int64_t TextureFrameTable::FindTextureByName ( std::string_view  Str2)

◆ GetFrameTexture()

GraphicsImage * TextureFrameTable::GetFrameTexture ( int64_t  frameId,
Duration  offset 
)

◆ textureFrameAnimLength()

Duration TextureFrameTable::textureFrameAnimLength ( int64_t  frameID)
Parameters
frameIDTexture index in this table.
Returns
Total duration of the corresponding animation. Passed frame must be the first one in a sequence.

◆ textureFrameAnimTime()

Duration TextureFrameTable::textureFrameAnimTime ( int64_t  frameID)
Parameters
frameIDTexture index in this table.
Returns
Dwell time of this texture.

Member Data Documentation

◆ textures

std::vector<TextureFrame> TextureFrameTable::textures

The documentation for this struct was generated from the following files: