Space Engineers
|
Structure describing texture that consists of normal and highlight version. Also holds information about size of the texture before it was scaled to power of 2 and this size in GUI normalized coordinates. More...
Public Attributes | |
string | Normal |
Normal, non highlight version of the texture; More... | |
string | Highlight |
Highlight version of the texture. More... | |
Properties | |
Vector2 | SizePx [get, set] |
Size in pixels before texture was scaled to power of 2. This helps when we have to compute its correct aspect ratio and ideal resolution for rendering. More... | |
Vector2 | SizeGui [get] |
Size in pixels converted to normalized gui coordinates. Can be used as size when drawing. More... | |
Structure describing texture that consists of normal and highlight version. Also holds information about size of the texture before it was scaled to power of 2 and this size in GUI normalized coordinates.
Definition at line 29 of file MyGuiControlBase.cs.
string Sandbox.Graphics.GUI.MyGuiHighlightTexture.Highlight |
Highlight version of the texture.
Definition at line 39 of file MyGuiControlBase.cs.
string Sandbox.Graphics.GUI.MyGuiHighlightTexture.Normal |
Normal, non highlight version of the texture;
Definition at line 34 of file MyGuiControlBase.cs.
|
get |
Size in pixels converted to normalized gui coordinates. Can be used as size when drawing.
Definition at line 62 of file MyGuiControlBase.cs.
|
getset |
Size in pixels before texture was scaled to power of 2. This helps when we have to compute its correct aspect ratio and ideal resolution for rendering.
Definition at line 47 of file MyGuiControlBase.cs.