Semi Mod Loader
Static Public Member Functions | Public Attributes | Properties | List of all members
Semi.SpriteAnimationClip Struct Reference

Wrapper struct for tk2dSpriteAnimationClip that provides a cleaner interface and works transparently with anything that expects tk2dSpriteAnimationClips. More...

Static Public Member Functions

static implicit operator tk2dSpriteAnimationClip (SpriteAnimationClip s)
 Implicit cast operator that allows you to use SpriteAnimationClip anywhere where tk2dSpriteAnimationClip is expected. More...
 
static SpriteAnimationClip Construct (string name, int fps, tk2dSpriteAnimationClip.WrapMode wrap_mode, params SpriteAnimationFrame[] frames)
 Constructs a new sprite animation clip. More...
 

Public Attributes

tk2dSpriteAnimationClip Wrap
 Real tk2d object. More...
 

Properties

ProxyList< SpriteAnimationFrame, tk2dSpriteAnimationFrame > Frames [get, set]
 Frames in the animation clip. More...
 

Detailed Description

Wrapper struct for tk2dSpriteAnimationClip that provides a cleaner interface and works transparently with anything that expects tk2dSpriteAnimationClips.

Member Function Documentation

◆ Construct()

static SpriteAnimationClip Semi.SpriteAnimationClip.Construct ( string  name,
int  fps,
tk2dSpriteAnimationClip.WrapMode  wrap_mode,
params SpriteAnimationFrame[]  frames 
)
inlinestatic

Constructs a new sprite animation clip.

Returns
The new animation clip.
Parameters
nameName.
fpsFPS.
wrap_modeWrap mode.
framesOptional array of preset frames.

◆ operator tk2dSpriteAnimationClip()

static implicit Semi.SpriteAnimationClip.operator tk2dSpriteAnimationClip ( SpriteAnimationClip  s)
static

Implicit cast operator that allows you to use SpriteAnimationClip anywhere where tk2dSpriteAnimationClip is expected.

Member Data Documentation

◆ Wrap

tk2dSpriteAnimationClip Semi.SpriteAnimationClip.Wrap

Real tk2d object.

Property Documentation

◆ Frames

ProxyList<SpriteAnimationFrame, tk2dSpriteAnimationFrame> Semi.SpriteAnimationClip.Frames
getset

Frames in the animation clip.


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