Vertices Engine
v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
|
Art provider base class which holds common elements such as Padding, Highlight colour etc... More...
Public Member Functions | |
vxUIArtProvider () | |
Initializes a new instance of the T:VerticesEngine.UI.vxArtProviderBase class. | |
virtual void | SetBounds () |
Many sizes and positions are set based off of screensize, although this can change if a user changes the resolution settings. Therefore, this SetBounds() method will be where the sizes will be set. | |
void | Draw (T control) |
Public Attributes | |
Vector4 | Margin |
Gets or sets the margin. | |
Vector2 | Padding |
Gets or sets the padding. | |
float | Alpha |
The alpha transparency value. | |
bool | UseSpriteSheet = false |
This controls whether or not the control should be drawn using regions of the GUI Sprite Sheet. | |
Rectangle | SpriteSheetRegion |
The sprite sheet region. | |
Rectangle | TitleSpriteSheetRegion = new Rectangle(0, 0, 4, 4) |
The title sprite sheet region. | |
int | BorderWidth |
Gets or sets the width of the border. | |
bool | DoBorder |
Gets or sets a value indicating whether this VerticesEngine.UI.vxArtProviderBase do border. | |
int | DefaultWidth |
Gets or sets the default width. | |
int | DefaultHeight |
The default height. | |
vxUIControlTheme | Theme |
The colour theme for this specific Art Provider. | |
Properties | |
float | Opacity [get, set] |
Gets or sets the opacity of the current GUI Item. | |
virtual SpriteFont | Font [get] |
Text Of GUI Item. | |
Texture2D | DefaultTexture [get] |
Gets the default texture. | |
Art provider base class which holds common elements such as Padding, Highlight colour etc...
T | : | vxUIControl |
Initializes a new instance of the T:VerticesEngine.UI.vxArtProviderBase class.
Engine | Engine. |
int VerticesEngine.UI.vxUIArtProvider< T >.BorderWidth |
Gets or sets the width of the border.
The width of the border.
int VerticesEngine.UI.vxUIArtProvider< T >.DefaultWidth |
Gets or sets the default width.
The default width.
bool VerticesEngine.UI.vxUIArtProvider< T >.DoBorder |
Gets or sets a value indicating whether this VerticesEngine.UI.vxArtProviderBase do border.
true
if do border; otherwise, false
.
Vector4 VerticesEngine.UI.vxUIArtProvider< T >.Margin |
Gets or sets the margin.
The margin.
Vector2 VerticesEngine.UI.vxUIArtProvider< T >.Padding |
Gets or sets the padding.
The padding.
|
get |
Gets the default texture.
The default texture.
|
getset |
Gets or sets the opacity of the current GUI Item.
The opacity.