Infinite Runner Engine v1.9
Public Attributes | List of all members
MoreMountains.Feedbacks.BlinkPhase Class Reference

Describes a blink phase, defined by a duration for the phase, and the time it should remain inactive and active, sequentially For the duration of the phase, the object will be off for OffDuration, then on for OnDuration, then off again for OffDuration, etc If you want a grenade to blink briefly every .2 seconds, for 1 second, these parameters are what you're after : PhaseDuration = 1f; OffDuration = 0.2f; OnDuration = 0.1f; More...

Public Attributes

float PhaseDuration = 1f
 the duration of that specific phase, in seconds More...
 
float OffDuration = 0.2f
 the time the object should remain off More...
 
float OnDuration = 0.1f
 the time the object should then remain on More...
 
float OffLerpDuration = 0.05f
 the speed at which to lerp to off state More...
 
float OnLerpDuration = 0.05f
 the speed at which to lerp to on state More...
 

Detailed Description

Describes a blink phase, defined by a duration for the phase, and the time it should remain inactive and active, sequentially For the duration of the phase, the object will be off for OffDuration, then on for OnDuration, then off again for OffDuration, etc If you want a grenade to blink briefly every .2 seconds, for 1 second, these parameters are what you're after : PhaseDuration = 1f; OffDuration = 0.2f; OnDuration = 0.1f;

Member Data Documentation

◆ OffDuration

float MoreMountains.Feedbacks.BlinkPhase.OffDuration = 0.2f

the time the object should remain off

◆ OffLerpDuration

float MoreMountains.Feedbacks.BlinkPhase.OffLerpDuration = 0.05f

the speed at which to lerp to off state

◆ OnDuration

float MoreMountains.Feedbacks.BlinkPhase.OnDuration = 0.1f

the time the object should then remain on

◆ OnLerpDuration

float MoreMountains.Feedbacks.BlinkPhase.OnLerpDuration = 0.05f

the speed at which to lerp to on state

◆ PhaseDuration

float MoreMountains.Feedbacks.BlinkPhase.PhaseDuration = 1f

the duration of that specific phase, in seconds


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