Space Engineers
|
Composite texture is built from several parts. Currently there is Top and Bottom which are rendered at their original aspect ratio and size, and Center which fills up space between Top and Bottom. More...
Public Member Functions | |
MyGuiCompositeTexture (string centerTexture=null) | |
void | Draw (Vector2 positionTopLeft, float innerHeight, Color colorMask) |
Draw the composite texture at specified position with given height (width is implicit from size of each part). More... | |
void | Draw (Vector2 positionLeftTop, Vector2 size, Color colorMask, float textureScale=1f) |
Static Public Member Functions | |
static implicit | operator MyGuiCompositeTexture (SerializableCompositeTexture texture) |
static implicit | operator SerializableCompositeTexture (MyGuiCompositeTexture texture) |
Properties | |
MyGuiSizedTexture | LeftTop [get, set] |
MyGuiSizedTexture | LeftCenter [get, set] |
MyGuiSizedTexture | LeftBottom [get, set] |
MyGuiSizedTexture | CenterTop [get, set] |
MyGuiSizedTexture | Center [get, set] |
MyGuiSizedTexture | CenterBottom [get, set] |
MyGuiSizedTexture | RightTop [get, set] |
MyGuiSizedTexture | RightCenter [get, set] |
MyGuiSizedTexture | RightBottom [get, set] |
Vector2 | MinSizeGui [get] |
Vector2 | MaxSizeGui [get] |
Composite texture is built from several parts. Currently there is Top and Bottom which are rendered at their original aspect ratio and size, and Center which fills up space between Top and Bottom.
Definition at line 16 of file MyGuiCompositeTexture.cs.
|
inline |
Definition at line 126 of file MyGuiCompositeTexture.cs.
|
inline |
Draw the composite texture at specified position with given height (width is implicit from size of each part).
positionTopLeft | Position of the top left corner of the composite texture. |
innerHeight | Height of expandable area within composite texture (real height will include top and bottom as well). |
Definition at line 136 of file MyGuiCompositeTexture.cs.
|
inline |
Definition at line 174 of file MyGuiCompositeTexture.cs.
|
inlinestatic |
Definition at line 285 of file MyGuiCompositeTexture.cs.
|
inlinestatic |
Definition at line 315 of file MyGuiCompositeTexture.cs.
|
getset |
Definition at line 53 of file MyGuiCompositeTexture.cs.
|
getset |
Definition at line 58 of file MyGuiCompositeTexture.cs.
|
getset |
Definition at line 48 of file MyGuiCompositeTexture.cs.
|
getset |
Definition at line 43 of file MyGuiCompositeTexture.cs.
|
getset |
Definition at line 38 of file MyGuiCompositeTexture.cs.
|
getset |
Definition at line 33 of file MyGuiCompositeTexture.cs.
|
get |
Definition at line 88 of file MyGuiCompositeTexture.cs.
|
get |
Definition at line 79 of file MyGuiCompositeTexture.cs.
|
getset |
Definition at line 73 of file MyGuiCompositeTexture.cs.
|
getset |
Definition at line 68 of file MyGuiCompositeTexture.cs.
|
getset |
Definition at line 63 of file MyGuiCompositeTexture.cs.