Show / Hide Table of Contents

Class TextScreenVisualsComponent

Inheritance
System.Object
TextScreenVisualsComponent
Namespace: Content.Client.TextScreen
Assembly: Content.Client.dll
Syntax
public sealed class TextScreenVisualsComponent : Component

Fields

| Improve this Doc View Source

TextScreenVisualsComponent

Offset for drawing the text.
(0, 8) pixels is the default for the Structures\Wallmounts\textscreen.rsi

Declaration
public Vector2
Field Value
Type Description
Vector2
| Improve this Doc View Source

Activated

Whether the screen is on.

Declaration
public bool Activated
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

CurrentMode

The current mode of the screen - is it showing text, or currently counting?

Declaration
public TextScreenMode CurrentMode
Field Value
Type Description
TextScreenMode
| Improve this Doc View Source

LayerStatesToDraw

The different layers for each character - this is the currently drawn states.

Declaration
public Dictionary<string, string?> LayerStatesToDraw
Field Value
Type Description
Dictionary<System.String, System.Nullable<System.String>>
| Improve this Doc View Source

PixelSize

1/32 - the size of a pixel

Declaration
public const float PixelSize = null
Field Value
Type Description
System.Single
| Improve this Doc View Source

TargetTime

The time it is counting to or from.

Declaration
public TimeSpan TargetTime
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

Text

Text the screen should show when it's not counting.

Declaration
public string Text
Field Value
Type Description
System.String
| Improve this Doc View Source

TextLength

The amount of characters this component can show.

Declaration
public int TextLength
Field Value
Type Description
System.Int32
| Improve this Doc View Source

TextOffset

Offset for drawing the text.
(0, 8) pixels is the default for the Structures\Wallmounts\textscreen.rsi

Declaration
public Vector2 TextOffset
Field Value
Type Description
Vector2
| Improve this Doc View Source

TextToDraw

Declaration
public string TextToDraw
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

Color

The color of the text drawn.

Declaration
public Color Color { get; set; }
Property Value
Type Description
Color
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾