JugiMap Framework
AnimationBaseParameters Struct Reference

The animation base parameters of Animation objects. More...

#include <jmAnimationCommon.h>

Public Attributes

int startDelay = 0
 The starting dealay of animation in milliseconds. More...
 
int loopCount = 0
 The number of loops. More...
 
bool loopForever = true
 The animation loops forever. More...
 
bool repeat = false
 The animation should repeats (if it doesn't loops forever). More...
 
int repeat_DelayTimeStart = 0
 The repeat delay - start point time in milliseconds. More...
 
int repeat_DelayTimeEnd = 0
 The repeat delay - end point time in milliseconds. The actual repeat delay is a random value between the start and end point time. More...
 
bool startAtRepeatTime = true
 Start the animation after the repeat delay (overrides the starting delay). More...
 

Detailed Description

The animation base parameters of Animation objects.

These parameters were set in the editor and should not be changed. The copy of this struct is made in AnimationInstance objects which can be modified when played in AnimationPlayer objects.

Member Data Documentation

◆ startDelay

int startDelay = 0

The starting dealay of animation in milliseconds.

◆ loopCount

int loopCount = 0

The number of loops.

◆ loopForever

bool loopForever = true

The animation loops forever.

◆ repeat

bool repeat = false

The animation should repeats (if it doesn't loops forever).

◆ repeat_DelayTimeStart

int repeat_DelayTimeStart = 0

The repeat delay - start point time in milliseconds.

◆ repeat_DelayTimeEnd

int repeat_DelayTimeEnd = 0

The repeat delay - end point time in milliseconds. The actual repeat delay is a random value between the start and end point time.

◆ startAtRepeatTime

bool startAtRepeatTime = true

Start the animation after the repeat delay (overrides the starting delay).


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