G4P (GUI for Processing) 4.3.9
A set of GUI controls for your Processing sketch.
Loading...
Searching...
No Matches
g4p_controls.GAnimIcon.AnimClip Class Reference

Public Member Functions

 AnimClip (String id, int start, int end, int interval)
 
 AnimClip (String id, int start, int end, int interval, int nLoops)
 
String toString ()
 

Detailed Description

A class to store the details of a simple animation clip.

Author
Peter Lager

Constructor & Destructor Documentation

◆ AnimClip() [1/2]

g4p_controls.GAnimIcon.AnimClip.AnimClip ( String  id,
int  start,
int  end,
int  interval 
)

Create an animation clip

Parameters
idunique id for a stored clip for use.
startstart frame number
endend frame number
intervaltime between frames in milliseconds
nbrLoopsthe number of times the clip will be played before stopping

◆ AnimClip() [2/2]

g4p_controls.GAnimIcon.AnimClip.AnimClip ( String  id,
int  start,
int  end,
int  interval,
int  nLoops 
)

Create an animation clip

Parameters
idunique id for a stored clip for use.
startstart frame number
endend frame number
intervaltime between frames in milliseconds
nLoopsthe number of times the clip will be played before stopping

Member Function Documentation

◆ toString()

String g4p_controls.GAnimIcon.AnimClip.toString ( )
Returns
textual description of animclip