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

    Class SpatialHintUI

    Inheritance
    Object
    SpatialHintUI
    Namespace: UnityEditor.Experimental.EditorVR.Menus
    Syntax
    public class SpatialHintUI : MonoBehaviour, IUsesViewerScale, IFunctionalitySubscriber<IProvidesViewerScale>, IUsesControlHaptics, IFunctionalitySubscriber<IProvidesControlHaptics>, IFunctionalitySubscriber, IRayToNode

    Properties

    centeredScrolling

    If TRUE, expand scroll hint arrows from center of initial scroll trigger. If FALSE, draw scroll hint line visuals along the line the user is defining

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

    contentContainer

    The content container housing the spatial scroll visuals

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

    controllingNode

    The node currently controlling the spatial hint visuals

    Declaration
    public Node controllingNode { get; set; }
    Property Value
    Type Description
    Node

    preScrollArrowsVisible

    Bool denoting the visibility of the UI elements shown before a spatial scroll has been initiated

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

    scrollVisualsDragThresholdTriggerPosition

    The position, whose magnitude from the scroll origin is used to trigger a spatial scroll

    Declaration
    public Vector3 scrollVisualsDragThresholdTriggerPosition { get; set; }
    Property Value
    Type Description
    Vector3

    scrollVisualsRotation

    If non-null, enable and set the world rotation of the scroll visuals

    Declaration
    public Vector3 scrollVisualsRotation { set; }
    Property Value
    Type Description
    Vector3

    scrollVisualsVisible

    Bool denoting the visibility of the Spatial Scroll visual elements

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

    secondaryArrowsVisible

    Bool denoting the visibility of the secondary arrow visuals

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

    visible

    Bool denoting the visibility of the Spatial Hint UI elements

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

    Methods

    PulseScrollArrows()

    Pulse the scroll arrows

    Declaration
    public void PulseScrollArrows()

    Explicit Interface Implementations

    IFunctionalitySubscriber<IProvidesControlHaptics>.provider

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

    IFunctionalitySubscriber<IProvidesViewerScale>.provider

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

    Extension Methods

    UsesControlHapticsMethods.Pulse(IUsesControlHaptics, Node, HapticPulse, Single, Single)
    UsesControlHapticsMethods.StopPulses(IUsesControlHaptics, Node)
    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