docs.unity3d.com
    Show / Hide Table of Contents

    Struct GestureTransformationUtility.Placement

    Result of the function GetBestPlacementPosition(Vector3, Vector2, Single, Single, Single, GestureTransformationUtility.GestureTranslationMode, XROrigin, TrackableType, Int32) 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.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.XR.Interaction.Toolkit.AR
    Syntax
    public struct 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
    Boolean
    See Also
    hoveringPosition

    HasHoveringPosition

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

    Declaration
    [Obsolete("HasHoveringPosition has been deprecated. Use hasHoveringPosition instead. (UnityUpgradable) -> hasHoveringPosition")]
    public bool HasHoveringPosition { get; set; }
    Property Value
    Type Description
    Boolean
    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
    Boolean
    See Also
    placementPosition

    HasPlacementPosition

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

    Declaration
    [Obsolete("HasPlacementPosition has been deprecated. Use hasPlacementPosition instead. (UnityUpgradable) -> hasPlacementPosition")]
    public bool HasPlacementPosition { get; set; }
    Property Value
    Type Description
    Boolean
    See Also
    placementPosition

    hasPlane

    true if this Placement has a placementPlane, otherwise false.

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

    HasPlane

    true if this Placement has a placementPlane, otherwise false.

    Declaration
    [Obsolete("HasPlane has been deprecated. Use hasPlane instead. (UnityUpgradable) -> hasPlane")]
    public bool HasPlane { get; set; }
    Property Value
    Type Description
    Boolean
    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

    HoveringPosition

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

    Declaration
    [Obsolete("HoveringPosition has been deprecated. Use hoveringPosition instead. (UnityUpgradable) -> hoveringPosition")]
    public Vector3 HoveringPosition { 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

    PlacementPlane

    The ARPlane that the object is being placed on.

    Declaration
    [Obsolete("PlacementPlane has been deprecated. Use placementPlane instead. (UnityUpgradable) -> placementPlane")]
    public ARPlane PlacementPlane { 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

    PlacementPosition

    The resulting position that the object should be placed at.

    Declaration
    [Obsolete("PlacementPosition has been deprecated. Use placementPosition instead. (UnityUpgradable) -> placementPosition")]
    public Vector3 PlacementPosition { 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

    PlacementRotation

    The resulting rotation that the object should have.

    Declaration
    [Obsolete("PlacementRotation has been deprecated. Use placementRotation instead. (UnityUpgradable) -> placementRotation")]
    public Quaternion PlacementRotation { 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
    Single

    UpdatedGroundingPlaneHeight

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

    Declaration
    [Obsolete("UpdatedGroundingPlaneHeight has been deprecated. Use updatedGroundingPlaneHeight instead. (UnityUpgradable) -> updatedGroundingPlaneHeight")]
    public float UpdatedGroundingPlaneHeight { get; set; }
    Property Value
    Type Description
    Single
    Back to top
    Terms of use
    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