|
Arma Reforger Script API
|
This component implements animation by switching textures, like in a movie. More...
Public Member Functions | |
| void | Start () |
| PUBLIC API. | |
| void | Stop () |
| override bool | OnUpdate (Widget w) |
Protected Member Functions | |
| override void | HandlerAttached (Widget w) |
| override void | HandlerDeattached (Widget w) |
| void | OnEachFrame () |
| void | ShowFrame (int id) |
Protected Attributes | |
| float | m_fFramesPerSecond |
| int | m_iNumFrames |
| int | m_iStartFrameId |
| string | m_sImageNameFormat |
| int | m_iIntToStringLen |
| ResourceName | m_sImageSet |
| float | m_fCounterMs |
| float | m_fMsPerFrame |
| int | m_iFrameId |
| ImageWidget | m_wRoot |
This component implements animation by switching textures, like in a movie.
Animation frame rate can be separate from game frame rate. Images must be in image set.
You do not have to care about starting/stopping the animation when widget is shown or hidden, it will be performed automatically.
|
protected |
|
protected |
|
protected |
| override bool SCR_ImageFrameAnimationComponent.OnUpdate | ( | Widget | w | ) |
|
protected |
| void SCR_ImageFrameAnimationComponent.Start | ( | ) |
PUBLIC API.
| void SCR_ImageFrameAnimationComponent.Stop | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |