Starsector API
Loading...
Searching...
No Matches
com.fs.starfarer.api.AnimationAPI Interface Reference

Public Member Functions

int getFrame ()
 
int getNumFrames ()
 
void setFrame (int frame)
 
void play ()
 
void pause ()
 
void reset ()
 
float getAlphaMult ()
 
void setAlphaMult (float alphaMult)
 
float getFrameRate ()
 
void setFrameRate (float frameRate)
 

Detailed Description

Definition at line 3 of file AnimationAPI.java.

Member Function Documentation

◆ getAlphaMult()

float com.fs.starfarer.api.AnimationAPI.getAlphaMult ( )

◆ getFrame()

int com.fs.starfarer.api.AnimationAPI.getFrame ( )
Returns
Index of current animation frame, 0-based.

◆ getFrameRate()

float com.fs.starfarer.api.AnimationAPI.getFrameRate ( )

◆ getNumFrames()

int com.fs.starfarer.api.AnimationAPI.getNumFrames ( )

◆ pause()

void com.fs.starfarer.api.AnimationAPI.pause ( )

◆ play()

void com.fs.starfarer.api.AnimationAPI.play ( )

◆ reset()

void com.fs.starfarer.api.AnimationAPI.reset ( )

Reset the pause/play state and let the animation behave normally.

◆ setAlphaMult()

void com.fs.starfarer.api.AnimationAPI.setAlphaMult ( float  alphaMult)

◆ setFrame()

void com.fs.starfarer.api.AnimationAPI.setFrame ( int  frame)

◆ setFrameRate()

void com.fs.starfarer.api.AnimationAPI.setFrameRate ( float  frameRate)

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