Show / Hide Table of Contents

Class ColorCycleBehaviour

A light behaviour that cycles through a list of colors.

Inheritance
System.Object
Robust.Client.Animations.AnimationTrack
Robust.Client.Animations.AnimationTrackProperty
LightBehaviourAnimationTrack
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 Source

ColorsToCycle

Declaration
public List<Color> ColorsToCycle { get; set; }
Property Value
Type Description
List<Color>
| Improve this Doc View Source

Property

Declaration
public override string Property { get; protected set; }
Property Value
Type Description
System.String
Overrides
LightBehaviourAnimationTrack.Property

Methods

| Improve this Doc View Source

AdvancePlayback(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
LightBehaviourAnimationTrack.OnStart()

Explicit Interface Implementations

| Improve this Doc View Source

ISerializationHooks.AfterDeserialization()

Declaration
void ISerializationHooks.AfterDeserialization()

Implements

Robust.Shared.Serialization.ISerializationHooks
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾