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.MySprite
Malware edited this page Apr 8, 2019
·
22 revisions
← Index ← Namespace Index
public struct MySpriteNamespace: VRage.Game.GUI.TextPanel
Assembly: VRage.Game.dll
| Member | Description |
|---|---|
| Type | Type of the render layer |
| Position | Render position for this layer. If not set, it will be placed in the center |
| Size | Render size for this layer. If not set, it will be sized to take up the whole texture |
| Color | Color mask to be used when rendering this layer. If not set, white will be used |
| Data | Data to be rendered, depending on what the layer type is. This can be text or a texture path |
| FontId | In case we are rendering text, what font to use. |
| Alignment | Alignment for the text and sprites. |
| RotationOrScale | Rotation of sprite in radians. Used as scale for text. |
| Member | Description |
|---|---|
| MySprite(SpriteType, string, Nullable, Nullable, Nullable, string, TextAlignment, float) |
| Member | Description |
|---|---|
| CreateSprite(string, Vector2, Vector2) | |
| CreateText(string, string, Color, float, TextAlignment) |
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!