Udostępnij za pośrednictwem


ObjectSearchArea.FromLocation Method

Definition

Creates a search area from a location.

public:
 static Microsoft::Azure::ObjectAnchors::ObjectSearchArea ^ FromLocation(Microsoft::Azure::ObjectAnchors::SpatialGraph::SpatialGraphCoordinateSystem coordinateSystem, System::Numerics::Vector3 position, System::Numerics::Quaternion orientation);
public static Microsoft.Azure.ObjectAnchors.ObjectSearchArea FromLocation (Microsoft.Azure.ObjectAnchors.SpatialGraph.SpatialGraphCoordinateSystem coordinateSystem, System.Numerics.Vector3 position, System.Numerics.Quaternion orientation);
static member FromLocation : Microsoft.Azure.ObjectAnchors.SpatialGraph.SpatialGraphCoordinateSystem * System.Numerics.Vector3 * System.Numerics.Quaternion -> Microsoft.Azure.ObjectAnchors.ObjectSearchArea
Public Shared Function FromLocation (coordinateSystem As SpatialGraphCoordinateSystem, position As Vector3, orientation As Quaternion) As ObjectSearchArea

Parameters

coordinateSystem
SpatialGraphCoordinateSystem

Reference coordinate system for the search area.

position
Vector3

The position.

orientation
Quaternion

The orientation.

Returns

Applies to