This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRage.Game.GUI.TextPanel.MySerializableSprite
Morten Aune Lyrstad edited this page Apr 16, 2022
·
10 revisions
← Index ← Namespace Index
public struct MySerializableSpriteNamespace: VRage.Game.GUI.TextPanel
Assembly: VRage.Game.dll
| Member | Description |
|---|---|
| \$1TextAlignment Alignment](VRage.Game.GUI.TextPanel.MySerializableSprite.Alignment) | Alignment for the text and sprites. |
| \$1uint? Color](VRage.Game.GUI.TextPanel.MySerializableSprite.Color) | Color mask to be used when rendering this layer. If not set, white will be used |
| \$1string Data](VRage.Game.GUI.TextPanel.MySerializableSprite.Data) | Data to be rendered, depending on what the layer type is. This can be text or a texture path |
| \$1string FontId](VRage.Game.GUI.TextPanel.MySerializableSprite.FontId) | In case we are rendering text, what font to use. |
| \$1int Index](VRage.Game.GUI.TextPanel.MySerializableSprite.Index) | |
| \$1SerializableVector2? Position](VRage.Game.GUI.TextPanel.MySerializableSprite.Position) | Render position for this layer. If not set, it will be placed in the center |
| \$1float RotationOrScale](VRage.Game.GUI.TextPanel.MySerializableSprite.RotationOrScale) | Rotation of sprite in radians. Used as scale for text. |
| \$1SerializableVector2? Size](VRage.Game.GUI.TextPanel.MySerializableSprite.Size) | Render size for this layer. If not set, it will be sized to take up the whole texture |
| \$1SpriteType Type](VRage.Game.GUI.TextPanel.MySerializableSprite.Type) | Type of the render layer |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!