Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRage.Game.GUI.TextPanel.MySerializableSprite

Malware edited this page Aug 24, 2019 · 10 revisions

IndexNamespace Index

MySerializableSprite Struct

public struct MySerializableSprite

Namespace: VRage.Game.GUI.TextPanel
Assembly: VRage.Game.dll

Fields

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.
Index

Clone this wiki locally