docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IProvidesControlSpatialHinting

    Provides the ability to control spatial-hinting visuals.

    Spatial-Hinting visuals are displayed when performing a spatial-input action, such as spatial-scrolling These visual elements assist the user in seeing which spatial direction(s) will reveal/allow additional spatial interaction(s).

    Inherited Members
    IFunctionalityProvider.LoadProvider()
    IFunctionalityProvider.ConnectSubscriber(object)
    IFunctionalityProvider.UnloadProvider()
    Namespace: Unity.EditorXR.Interfaces
    Assembly: solution.dll
    Syntax
    public interface IProvidesControlSpatialHinting : IFunctionalityProvider

    Methods

    Name Description
    PulseSpatialHintScrollArrows()

    Visually pulse the spatial-scroll arrows; the arrows shown when performing a spatial scroll

    SetSpatialHintContainerRotation(Quaternion)

    Set the rotation of the spatial hint visuals container game object

    SetSpatialHintControlNode(Node)

    Set reference to the object, RayOrigin, controlling the Spatial Hint visuals Each control-object has it's spatial scrolling processed independently

    SetSpatialHintDragThresholdTriggerPosition(Vector3)

    Set the magnitude at which the user will trigger spatial scrolling

    SetSpatialHintLookAtRotation(Vector3)

    Set the LookAt target

    SetSpatialHintPosition(Vector3)

    Set the position of the spatial hint visuals

    SetSpatialHintShowHideRotationTarget(Vector3)

    Sets the target for the spatial hint visuals to look at while performing an animated show or hide

    SetSpatialHintState(SpatialHintState)

    Set the spatial hint state

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)