Class FadeBehaviour
A light behaviour that interpolates from StartValue to EndValue
Inheritance
System.Object
Robust.Client.Animations.AnimationTrack
Robust.Client.Animations.AnimationTrackProperty
FadeBehaviour
Namespace: Content.Client.Light.Components
Assembly: Content.Client.dll
Syntax
public sealed class FadeBehaviour : LightBehaviourAnimationTrack
Properties
| Improve this Doc View SourceReverseWhenFinished
Automatically reverse the animation when EndValue is reached. In this particular case, MaxTime specifies the time of the full animation, including the reverse interpolation.
Declaration
public bool ReverseWhenFinished { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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)