Corgi Engine
v9.2
|
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... | |
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;
float MoreMountains.Feedbacks.BlinkPhase.OffDuration = 0.2f |
the time the object should remain off
float MoreMountains.Feedbacks.BlinkPhase.OffLerpDuration = 0.05f |
the speed at which to lerp to off state
float MoreMountains.Feedbacks.BlinkPhase.OnDuration = 0.1f |
the time the object should then remain on
float MoreMountains.Feedbacks.BlinkPhase.OnLerpDuration = 0.05f |
the speed at which to lerp to on state
float MoreMountains.Feedbacks.BlinkPhase.PhaseDuration = 1f |
the duration of that specific phase, in seconds