Smart Gallery v1.1
 
Loading...
Searching...
No Matches
AnimatedModule Class Referenceabstract

The base class for modules that have animation. More...

Inheritance diagram for AnimatedModule:
Module

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.
 

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.
 

Detailed Description

The base class for modules that have animation.

Member Function Documentation

◆ Initialize()

override void Initialize ( Viewer viewer)
virtual

Initializes the module.

Parameters
viewerThe viewer.

Reimplemented from Module.

◆ ProcessAnimation()

void ProcessAnimation ( float progress)
abstractprotected

Processes the animation.

Parameters
progressThe progress of the animation.