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 SourceTextScreenVisualsComponent
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 |
Activated
Whether the screen is on.
Declaration
public bool Activated
Field Value
| Type | Description |
|---|---|
| System.Boolean |
CurrentMode
The current mode of the screen - is it showing text, or currently counting?
Declaration
public TextScreenMode CurrentMode
Field Value
| Type | Description |
|---|---|
| TextScreenMode |
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>> |
PixelSize
1/32 - the size of a pixel
Declaration
public const float PixelSize = null
Field Value
| Type | Description |
|---|---|
| System.Single |
TargetTime
The time it is counting to or from.
Declaration
public TimeSpan TargetTime
Field Value
| Type | Description |
|---|---|
| TimeSpan |
Text
Text the screen should show when it's not counting.
Declaration
public string Text
Field Value
| Type | Description |
|---|---|
| System.String |
TextLength
The amount of characters this component can show.
Declaration
public int TextLength
Field Value
| Type | Description |
|---|---|
| System.Int32 |
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 |
TextToDraw
Declaration
public string TextToDraw
Field Value
| Type | Description |
|---|---|
| System.String |
Properties
| Improve this Doc View SourceColor
The color of the text drawn.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |