docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct GestureTransformationUtility.Placement

    Result of the function GetBestPlacementPosition(Vector3, Vector2, float, float, float, GestureTranslationMode, XROrigin, TrackableType, int) that indicates if a placement position was found and information about the placement position.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.Interaction.Toolkit.AR
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public struct GestureTransformationUtility.Placement

    Properties

    hasHoveringPosition

    true if this Placement has a valid hoveringPosition value, otherwise false.

    Declaration
    public bool hasHoveringPosition { readonly get; set; }
    Property Value
    Type Description
    bool
    See Also
    hoveringPosition

    hasPlacementPosition

    true if this Placement has a valid placementPosition value, otherwise false.

    Declaration
    public bool hasPlacementPosition { readonly get; set; }
    Property Value
    Type Description
    bool
    See Also
    placementPosition

    hasPlane

    true if this Placement has a placementPlane, otherwise false.

    Declaration
    public bool hasPlane { readonly get; set; }
    Property Value
    Type Description
    bool
    See Also
    placementPlane

    hoveringPosition

    The position that the object should be displayed at before the placement has been confirmed.

    Declaration
    public Vector3 hoveringPosition { readonly get; set; }
    Property Value
    Type Description
    Vector3
    See Also
    hasHoveringPosition

    placementPlane

    The ARPlane that the object is being placed on.

    Declaration
    public ARPlane placementPlane { readonly get; set; }
    Property Value
    Type Description
    ARPlane
    See Also
    hasPlane

    placementPosition

    The resulting position that the object should be placed at.

    Declaration
    public Vector3 placementPosition { readonly get; set; }
    Property Value
    Type Description
    Vector3
    See Also
    hasPlacementPosition

    placementRotation

    The resulting rotation that the object should have.

    Declaration
    public Quaternion placementRotation { readonly get; set; }
    Property Value
    Type Description
    Quaternion

    updatedGroundingPlaneHeight

    The resulting starting height of the plane that the object is being placed along.

    Declaration
    public float updatedGroundingPlaneHeight { readonly get; set; }
    Property Value
    Type Description
    float
    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)