Class LightBehaviourAnimationTrack
Base class for all light behaviours to derive from.
This AnimationTrack derivative does not rely on keyframes since it often needs to have a randomized duration.
Inheritance
System.Object
Robust.Client.Animations.AnimationTrack
Robust.Client.Animations.AnimationTrackProperty
LightBehaviourAnimationTrack
Assembly: Content.Client.dll
Syntax
public abstract class LightBehaviourAnimationTrack : AnimationTrackProperty
Fields
|
Improve this Doc
View Source
_entMan
Declaration
protected IEntityManager _entMan
Field Value
Type |
Description |
IEntityManager |
|
|
Improve this Doc
View Source
_random
Declaration
protected IRobustRandom _random
Field Value
Type |
Description |
Robust.Shared.Random.IRobustRandom |
|
Properties
|
Improve this Doc
View Source
Enabled
Declaration
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
EndValue
Declaration
public float EndValue { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ID
Declaration
public string ID { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
InterpolateMode
Declaration
public AnimationInterpolationMode InterpolateMode { get; set; }
Property Value
Type |
Description |
Robust.Shared.Animations.AnimationInterpolationMode |
|
|
Improve this Doc
View Source
IsLooped
Declaration
public bool IsLooped { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MaxDuration
Declaration
public float MaxDuration { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxTime
Declaration
protected float MaxTime { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MinDuration
Declaration
public float MinDuration { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Property
Declaration
public virtual string Property { get; protected set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
StartValue
Declaration
public float StartValue { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
ApplyProperty(Object)
Declaration
protected void ApplyProperty(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
|
Improve this Doc
View Source
ApplyProperty(Object, Object)
Declaration
protected override void ApplyProperty(object context, object value)
Parameters
Type |
Name |
Description |
System.Object |
context |
|
System.Object |
value |
|
Overrides
Robust.Client.Animations.AnimationTrackProperty.ApplyProperty(System.Object, System.Object)
|
Improve this Doc
View Source
Initialize(EntityUid, IRobustRandom, IEntityManager)
Declaration
public void Initialize(EntityUid parent, IRobustRandom random, IEntityManager entMan)
Parameters
Type |
Name |
Description |
EntityUid |
parent |
|
Robust.Shared.Random.IRobustRandom |
random |
|
IEntityManager |
entMan |
|
|
Improve this Doc
View Source
InitPlayback()
Declaration
public override (int KeyFrameIndex, float FramePlayingTime) InitPlayback()
Returns
Type |
Description |
System.ValueTuple<System.Int32, System.Single> |
|
Overrides
Robust.Client.Animations.AnimationTrackProperty.InitPlayback()
|
Improve this Doc
View Source
OnInitialize()
Declaration
public virtual void OnInitialize()
|
Improve this Doc
View Source
OnStart()
Declaration
public virtual void OnStart()
|
Improve this Doc
View Source
UpdatePlaybackValues(Animation)
Declaration
public void UpdatePlaybackValues(Animation owner)
Parameters
Type |
Name |
Description |
Robust.Client.Animations.Animation |
owner |
|