Show / Hide Table of Contents

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 Source

Animation

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
| Improve this Doc View Source

AnimationKey

The id of the animation used when the foam dissolves.

Declaration
public const string AnimationKey = null
Field Value
Type Description
System.String
| Improve this Doc View Source

AnimationTime

How long the foam visually dissolves for.

Declaration
public float AnimationTime
Field Value
Type Description
System.Single
| Improve this Doc View Source

State

The state of the entities base sprite RSI that is displayed when the foam dissolves. Cannot use because it does not have and I am not making an engine PR at this time.

Declaration
public string State
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾