Show / Hide Table of Contents

    Class AppBar

    Logic for the App Bar. Generates buttons, manages states.

    Inheritance
    Object
    AppBar
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class AppBar : MonoBehaviour

    Properties

    DisplayType

    Declaration
    public AppBar.AppBarDisplayTypeEnum DisplayType { get; set; }
    Property Value
    Type Description
    AppBar.AppBarDisplayTypeEnum

    HoverOffsetYScale

    Where to display the app bar on the y axis This can be set to negative values to force the app bar to appear below the object

    Declaration
    public float HoverOffsetYScale { get; set; }
    Property Value
    Type Description
    Single

    HoverOffsetZ

    Pushes the app bar away from the object

    Declaration
    public float HoverOffsetZ { get; set; }
    Property Value
    Type Description
    Single

    State

    Declaration
    public AppBar.AppBarStateEnum State { get; set; }
    Property Value
    Type Description
    AppBar.AppBarStateEnum

    UseAdjust

    Declaration
    public bool UseAdjust { get; set; }
    Property Value
    Type Description
    Boolean

    UseHide

    Declaration
    public bool UseHide { get; set; }
    Property Value
    Type Description
    Boolean

    UseRemove

    Declaration
    public bool UseRemove { get; set; }
    Property Value
    Type Description
    Boolean

    UseTightFollow

    Uses an alternate follow style that works better for very oblong objects

    Declaration
    public bool UseTightFollow { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    GetButtonTextAndIconFromType(AppBar.ButtonTypeEnum, out String, out Texture, out Int32)

    Declaration
    public void GetButtonTextAndIconFromType(AppBar.ButtonTypeEnum type, out string buttonText, out Texture buttonIcon, out int displayOrder)
    Parameters
    Type Name Description
    AppBar.ButtonTypeEnum type
    String buttonText
    Texture buttonIcon
    Int32 displayOrder

    OnButtonPressed(AppBarButton)

    Declaration
    public void OnButtonPressed(AppBarButton button)
    Parameters
    Type Name Description
    AppBarButton button

    OnClickRemove()

    Declaration
    protected virtual void OnClickRemove()

    Reset()

    Declaration
    public void Reset()
    Back to top Generated by DocFX