Click or drag to resize

GUIElement Class

This abstact class allows for creating custom GUIElements.
Inheritance Hierarchy

Namespace:  Fusee.Engine.GUI
Assembly:  Fusee.Engine.GUI (in Fusee.Engine.GUI.dll) Version: 0.0.0.0
Syntax
C#
public abstract class GUIElement

The GUIElement type exposes the following members.

Constructors
  NameDescription
Protected methodGUIElement
Initializes a new instance of the GUIElement class
Top
Properties
  NameDescription
Public propertyGUIMesh
Gets the automatically generated GUI mesh.
Protected propertyOffsetX
Protected propertyOffsetY
Protected propertyOffsetZ
Public propertyPosX
Gets or sets this element's x-coordinate.
Public propertyPosY
Gets or sets this element's y-coordinate.
Public propertyTag
Gets or sets the tag.
Public propertyText
Gets or sets this element's text.
Public propertyTextColor
Gets or sets the color of this element's text.
Public propertyTextMesh
Gets the automatically generated text mesh.
Public propertyXPivot
Gets or sets this element's pivot's point x-coordinate.
Public propertyYPivot
Gets or sets this element's pivot's point y-coordinate.
Protected propertyZIndex
Public propertyZRot
Gets or sets this element's rotation about the z-axis.
Top
Methods
  NameDescription
Protected methodAttachToContext
Protected methodCreateGUIMesh
Protected methodCreateGUIShader
Protected methodCreateMesh
Protected methodCreateTextMesh
Protected methodCreateTextShader
Protected methodDetachFromContext
Protected methodDrawRectangle
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodPreRender
Public methodRefresh
Refreshes this element (is called when the properties of this element have been changed).
Public methodRender
Renders this element onto a specifie RenderContext.
Protected methodSetRectangleMesh
Protected methodSetTextMesh
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
See Also