Class WorkspaceUI | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class WorkspaceUI

    Inheritance
    Object
    WorkspaceUI
    Namespace: UnityEditor.Experimental.EditorVR.Workspaces
    Syntax
    public sealed class WorkspaceUI : MonoBehaviour, IUsesStencilRef, IUsesViewerScale, IFunctionalitySubscriber<IProvidesViewerScale>, IUsesPointer, IUsesRequestFeedback, IFunctionalitySubscriber<IProvidesRequestFeedback>, IFunctionalitySubscriber

    Properties

    adjustedBounds

    Declaration
    public Bounds adjustedBounds { get; }
    Property Value
    Type Description
    Bounds

    amplifyTopHighlight

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

    bounds

    Declaration
    public Bounds bounds { get; set; }
    Property Value
    Type Description
    Bounds

    dynamicFaceAdjustment

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

    frontHighlightVisible

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

    frontPanel

    Declaration
    public RectTransform frontPanel { get; }
    Property Value
    Type Description
    RectTransform

    highlightsVisible

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

    leftRayOrigin

    Declaration
    public Transform leftRayOrigin { set; }
    Property Value
    Type Description
    Transform

    preventResize

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

    rightRayOrigin

    Declaration
    public Transform rightRayOrigin { set; }
    Property Value
    Type Description
    Transform

    sceneContainer

    Declaration
    public Transform sceneContainer { get; }
    Property Value
    Type Description
    Transform

    stencilRef

    Declaration
    public byte stencilRef { get; set; }
    Property Value
    Type Description
    Byte
    Implements
    IUsesStencilRef.stencilRef

    topFaceContainer

    Declaration
    public Transform topFaceContainer { get; set; }
    Property Value
    Type Description
    Transform

    topHighlight

    Declaration
    public WorkspaceHighlight topHighlight { get; }
    Property Value
    Type Description
    WorkspaceHighlight

    topPanelDividerOffset

    (-1 to 1) ranged value that controls the separator mask's X-offset placement A value of zero will leave the mask in the center of the workspace

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

    Methods

    ProcessInput(WorkspaceInput, ConsumeControlDelegate)

    Declaration
    public void ProcessInput(WorkspaceInput input, ConsumeControlDelegate consumeControl)
    Parameters
    Type Name Description
    WorkspaceInput input
    ConsumeControlDelegate consumeControl

    Events

    buttonHovered

    Declaration
    public event Action<Transform> buttonHovered
    Event Type
    Type Description
    Action<Transform>

    closeClicked

    Declaration
    public event Action<Transform> closeClicked
    Event Type
    Type Description
    Action<Transform>

    hoveringFrame

    Declaration
    public event Action<Transform> hoveringFrame
    Event Type
    Type Description
    Action<Transform>

    moving

    Declaration
    public event Action<Transform> moving
    Event Type
    Type Description
    Action<Transform>

    resetSizeClicked

    Declaration
    public event Action<Transform> resetSizeClicked
    Event Type
    Type Description
    Action<Transform>

    resize

    Declaration
    public event Action<Bounds> resize
    Event Type
    Type Description
    Action<Bounds>

    resizing

    Declaration
    public event Action<Transform> resizing
    Event Type
    Type Description
    Action<Transform>

    Explicit Interface Implementations

    IFunctionalitySubscriber<IProvidesRequestFeedback>.provider

    Declaration
    IProvidesRequestFeedback IFunctionalitySubscriber<IProvidesRequestFeedback>.provider { get; set; }
    Returns
    Type Description
    IProvidesRequestFeedback
    Implements
    IFunctionalitySubscriber<TProvider>.provider

    IFunctionalitySubscriber<IProvidesViewerScale>.provider

    Declaration
    IProvidesViewerScale IFunctionalitySubscriber<IProvidesViewerScale>.provider { get; set; }
    Returns
    Type Description
    IProvidesViewerScale
    Implements
    IFunctionalitySubscriber<TProvider>.provider

    Extension Methods

    UsesRequestFeedbackMethods.AddFeedbackRequest(IUsesRequestFeedback, FeedbackRequest)
    UsesRequestFeedbackMethods.RemoveFeedbackRequest(IUsesRequestFeedback, FeedbackRequest)
    UsesRequestFeedbackMethods.ClearFeedbackRequests(IUsesRequestFeedback, IUsesRequestFeedback)
    UsesRequestFeedbackMethods.GetFeedbackRequestObject<TRequest>(IUsesRequestFeedback, IUsesRequestFeedback)
    UsesViewerScaleMethods.GetViewerScale(IUsesViewerScale)
    UsesViewerScaleMethods.SetViewerScale(IUsesViewerScale, Single)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023