The base class for modules that have animation. More...
Public Member Functions | |
override void | Initialize (Viewer viewer) |
Initializes the module. | |
Protected Member Functions | |
virtual void | InitializeAnimation () |
Initializes the animation. | |
void | ProcessAnimation (float progress) |
Processes the animation. | |
![]() | |
virtual void | OnDestroy () |
Handles the destruction of the module. | |
virtual void | OnFrameChangeComplete () |
Handles the completion of the frame change. | |
virtual void | OnFrameChanged (int index) |
Handles the FrameChanged event of the viewer's message system. | |
virtual void | OnReload () |
Method called when the list or contents of frames have been changed. | |
virtual void | OnViewerInitialized () |
Handles the Initialized event of the viewer. | |
Protected Attributes | |
float | animationProgress |
The progress of the animation. | |
float | animationTime |
The time of the animation. | |
Properties | |
virtual float | animationDuration [get] |
The duration of the animation. | |
virtual float | animationDelay [get] |
The delay before the animation starts. | |
virtual bool | animationOnStart [get] |
Whether the animation should start when the module is initialized. | |
![]() | |
MessageSystem | messageSystem [get] |
Gets the MessageSystem instance from the Viewer. | |
virtual Property[] | properties [get] |
Gets an array of Property objects associated with the module. | |
RectTransform | rectTransform [get] |
Gets the RectTransform component of the module. | |
Viewer | viewer [get] |
Gets the Viewer instance associated with the module. | |
The base class for modules that have animation.
|
virtual |
|
abstractprotected |
Processes the animation.
progress | The progress of the animation. |