Class FoamVisualsComponent
A component that makes foam play an animation when it dissolves.
Inheritance
System.Object
FoamVisualsComponent
Namespace: Content.Client.Chemistry.Visualizers
Assembly: Content.Client.dll
Syntax
public sealed class FoamVisualsComponent : Component
Fields
| Improve this Doc View SourceAnimation
The animation used while the foam dissolves. Generated by Content.Client.Chemistry.Visualizers.FoamVisualizerSystem.OnComponentInit(EntityUid,Content.Client.Chemistry.Visualizers.FoamVisualsComponent,ComponentInit).
Declaration
public Animation Animation
Field Value
Type | Description |
---|---|
Robust.Client.Animations.Animation |
AnimationKey
The id of the animation used when the foam dissolves.
Declaration
public const string AnimationKey = null
Field Value
Type | Description |
---|---|
System.String |
AnimationTime
How long the foam visually dissolves for.
Declaration
public float AnimationTime
Field Value
Type | Description |
---|---|
System.Single |
State
The state of the entities base sprite RSI that is displayed when the foam dissolves.
Cannot use
Declaration
public string State
Field Value
Type | Description |
---|---|
System.String |