Class ColorCycleBehaviour
A light behaviour that cycles through a list of colors.
Inheritance
System.Object
Robust.Client.Animations.AnimationTrack
Robust.Client.Animations.AnimationTrackProperty
ColorCycleBehaviour
Implements
Robust.Shared.Serialization.ISerializationHooks
Namespace: Content.Client.Light.Components
Assembly: Content.Client.dll
Syntax
public sealed class ColorCycleBehaviour : LightBehaviourAnimationTrack, ISerializationHooks
Properties
| Improve this Doc View SourceColorsToCycle
Declaration
public List<Color> ColorsToCycle { get; set; }
Property Value
Type | Description |
---|---|
List<Color> |
Property
Declaration
public override string Property { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
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
OnStart()
Declaration
public override void OnStart()
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceISerializationHooks.AfterDeserialization()
Declaration
void ISerializationHooks.AfterDeserialization()
Implements
Robust.Shared.Serialization.ISerializationHooks