mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class ExperimentalDrawer

    Draws a customer decorator drawer that displays a help box with rich text tagging implementation as experimental.

    Inheritance
    Object
    ExperimentalDrawer
    Implements
    DecoratorDrawer
    Namespace: Microsoft.MixedReality.Toolkit.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    public class ExperimentalDrawer : DecoratorDrawer, DecoratorDrawer

    Methods

    GetHeight()

    Returns the height required to display UI elements drawn by OnGUI.

    Declaration
    public override float GetHeight()
    Returns
    Type Description
    Single

    The height required by OnGUI.

    GetHeight()

    Returns the height required to display UI elements drawn by OnGUI.

    Declaration
    public override float GetHeight()
    Returns
    Type Description
    Single

    The height required by OnGUI.

    OnGUI(Rect)

    Unity calls this function to draw the GUI.

    Declaration
    public override void OnGUI(Rect position)
    Parameters
    Type Name Description
    Rect position

    Rectangle to display the GUI in

    OnGUI(Rect)

    Unity calls this function to draw the GUI.

    Declaration
    public override void OnGUI(Rect position)
    Parameters
    Type Name Description
    Rect position

    Rectangle to display the GUI in

    Implements

    DecoratorDrawer
    In This Article
    • Methods
      • GetHeight()
      • GetHeight()
      • OnGUI(Rect)
      • OnGUI(Rect)
    • Implements
    Back to top Generated by DocFX