Struct GestureTransformationUtility.Placement
Result of the function GetBestPlacementPosition(Vector3, Vector2, Single, Single, Single, GestureTransformationUtility.GestureTranslationMode, ARSessionOrigin, TrackableType, Int32) that indicates if a placement position was found and information about the placement position.
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 { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
HasHoveringPosition
true if this Placement has a valid hoveringPosition value, otherwise false.
Declaration
public bool HasHoveringPosition { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
hasPlacementPosition
true if this Placement has a valid placementPosition value, otherwise false.
Declaration
public bool hasPlacementPosition { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
HasPlacementPosition
true if this Placement has a valid placementPosition value, otherwise false.
Declaration
public bool HasPlacementPosition { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
hasPlane
true if this Placement has a placementPlane, otherwise false.
Declaration
public bool hasPlane { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
HasPlane
true if this Placement has a placementPlane, otherwise false.
Declaration
public bool HasPlane { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
hoveringPosition
The position that the object should be displayed at before the placement has been confirmed.
Declaration
public Vector3 hoveringPosition { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
See Also
HoveringPosition
The position that the object should be displayed at before the placement has been confirmed.
Declaration
public Vector3 HoveringPosition { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
See Also
placementPlane
The
Declaration
public ARPlane placementPlane { get; set; }
Property Value
Type | Description |
---|---|
ARPlane |
See Also
PlacementPlane
The
Declaration
public ARPlane PlacementPlane { get; set; }
Property Value
Type | Description |
---|---|
ARPlane |
See Also
placementPosition
The resulting position that the object should be placed at.
Declaration
public Vector3 placementPosition { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
See Also
PlacementPosition
The resulting position that the object should be placed at.
Declaration
public Vector3 PlacementPosition { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
See Also
placementRotation
The resulting rotation that the object should have.
Declaration
public Quaternion placementRotation { get; set; }
Property Value
Type | Description |
---|---|
Quaternion |
PlacementRotation
The resulting rotation that the object should have.
Declaration
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 { get; set; }
Property Value
Type | Description |
---|---|
Single |
UpdatedGroundingPlaneHeight
The resulting starting height of the plane that the object is being placed along.
Declaration
public float UpdatedGroundingPlaneHeight { get; set; }
Property Value
Type | Description |
---|---|
Single |