Class GuiButton
Code component that creates a button from an object in the scene graph.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Gui
Assembly: Fusee.Engine.Gui.dll
Syntax
public class GuiButton : CodeComponent, IComponent
Constructors
GuiButton()
Creates a new instance of the code component that creates a button from an object in the scene graph.
Declaration
public GuiButton()
Events
OnMouseDown
Occurs when mouse button is pressed on this button.
Declaration
public event CodeComponent.InteractionHandler OnMouseDown
Event Type
Type | Description |
---|---|
CodeComponent.InteractionHandler |
OnMouseEnter
Occurs when the mouse cursor enters this button.
Declaration
public event CodeComponent.InteractionHandler OnMouseEnter
Event Type
Type | Description |
---|---|
CodeComponent.InteractionHandler |
OnMouseExit
Occurs when the mouse cursor exits this button.
Declaration
public event CodeComponent.InteractionHandler OnMouseExit
Event Type
Type | Description |
---|---|
CodeComponent.InteractionHandler |
OnMouseOver
Occurs when the mouse cursor is over this button.
Declaration
public event CodeComponent.InteractionHandler OnMouseOver
Event Type
Type | Description |
---|---|
CodeComponent.InteractionHandler |
OnMouseUp
Occurs when mouse button is released on this button.
Declaration
public event CodeComponent.InteractionHandler OnMouseUp
Event Type
Type | Description |
---|---|
CodeComponent.InteractionHandler |