Class FuseeGuiHelper
Static helper class which contains methods to create predefined GUIs.s
Inheritance
System.Object
FuseeGuiHelper
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 static class FuseeGuiHelper
Methods
CreateDefaultGui(RenderCanvas, CanvasRenderMode, String, Boolean)
Creates a SceneContainer which contains the default Fusee-UI (Logo and app title)
Declaration
public static SceneContainer CreateDefaultGui(RenderCanvas rc, CanvasRenderMode canvasRenderMode, string title, bool useCamera = true)
Parameters
Type | Name | Description |
---|---|---|
RenderCanvas | rc | The RenderCanvas. |
CanvasRenderMode | canvasRenderMode | The CanvasRenderMode which is used to render the GUI. |
System.String | title | The app title. |
System.Boolean | useCamera | Default is "true". If set to "false" this will deactivate the Camera Component and the view and projection matrices need to be set on the RenderContext |
Returns
Type | Description |
---|---|
SceneContainer |
CreateDefaultGuiAsync(RenderCanvas, CanvasRenderMode, String, Boolean)
Creates a SceneContainer which contains the default Fusee-UI (Logo and app title)
Declaration
public static async Task<SceneContainer> CreateDefaultGuiAsync(RenderCanvas rc, CanvasRenderMode canvasRenderMode, string title, bool useCamera = true)
Parameters
Type | Name | Description |
---|---|---|
RenderCanvas | rc | The RenderCanvas. |
CanvasRenderMode | canvasRenderMode | The CanvasRenderMode which is used to render the GUI. |
System.String | title | The app title. |
System.Boolean | useCamera | Default is "true". If set to "false" this will deactivate the Camera Component and the view and projection matrices need to be set on the RenderContext |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<SceneContainer> |