Click or drag to resize

GUIText Class

The GUIText class provides all text writing functionality.
Inheritance Hierarchy

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

The GUIText type exposes the following members.

Constructors
  NameDescription
Public methodGUIText(String, FontMap, Int32, Int32, float4)
Initializes a new instance of the GUIText class.
Public methodGUIText(String, FontMap, Int32, Int32, Single, Int32, Int32)
Initializes a new instance of the GUIText class.
Public methodGUIText(String, FontMap, Int32, Int32, Int32, Single, Int32, Int32)
Initializes a new instance of the GUIText class.
Public methodGUIText(String, FontMap, Int32, Int32, Int32, float4, Single, Int32, Int32)
Initializes a new instance of the GUIText class.
Top
Properties
  NameDescription
Public propertyGUIMesh
Gets the automatically generated GUI mesh.
(Inherited from GUIElement.)
Public propertyPosX
Gets or sets this element's x-coordinate.
(Inherited from GUIElement.)
Public propertyPosY
Gets or sets this element's y-coordinate.
(Inherited from GUIElement.)
Public propertyTag
Gets or sets the tag.
(Inherited from GUIElement.)
Public propertyText
Gets or sets this element's text.
(Inherited from GUIElement.)
Public propertyTextColor
Gets or sets the color of this element's text.
(Inherited from GUIElement.)
Public propertyTextMesh
Gets the automatically generated text mesh.
(Inherited from GUIElement.)
Public propertyXPivot
Gets or sets this element's pivot's point x-coordinate.
(Inherited from GUIElement.)
Public propertyYPivot
Gets or sets this element's pivot's point y-coordinate.
(Inherited from GUIElement.)
Public propertyZRot
Gets or sets this element's rotation about the z-axis.
(Inherited from GUIElement.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetTextHeight
Gets the height of a text written in a specific font.
Public methodStatic memberGetTextWidth
Gets the width of a text written in a specific font.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRefresh
Refreshes this element (is called when the properties of this element have been changed).
(Inherited from GUIElement.)
Public methodRender
Renders this element onto a specifie RenderContext.
(Inherited from GUIElement.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also