Class RandomizeBehaviour
A light behaviour that interpolates using random values chosen between StartValue and EndValue.
Inheritance
System.Object
Robust.Client.Animations.AnimationTrack
Robust.Client.Animations.AnimationTrackProperty
RandomizeBehaviour
Namespace: Content.Client.Light.Components
Assembly: Content.Client.dll
Syntax
public sealed class RandomizeBehaviour : LightBehaviourAnimationTrack
Methods
| Improve this Doc View SourceAdvancePlayback(Object, Int32, Single, Single)
Declaration
public override (int KeyFrameIndex, float FramePlayingTime) AdvancePlayback(object context, int prevKeyFrameIndex, float prevPlayingTime, float frameTime)
Parameters
Type | Name | Description |
---|---|---|
System.Object | context | |
System.Int32 | prevKeyFrameIndex | |
System.Single | prevPlayingTime | |
System.Single | frameTime |
Returns
Type | Description |
---|---|
System.ValueTuple<System.Int32, System.Single> |
Overrides
Robust.Client.Animations.AnimationTrackProperty.AdvancePlayback(System.Object, System.Int32, System.Single, System.Single)
|
Improve this Doc
View Source
OnInitialize()
Declaration
public override void OnInitialize()
Overrides
| Improve this Doc View SourceOnStart()
Declaration
public override void OnStart()