Share via


ObjectDiagnosticsSession.ReportActualInstanceLocation Method

Definition

Report actual instance location provided by the application.

public:
 void ReportActualInstanceLocation(Microsoft::Azure::ObjectAnchors::ObjectInstance ^ instance, Microsoft::Azure::ObjectAnchors::SpatialGraph::SpatialGraphCoordinateSystem coordinateSystem, System::Numerics::Vector3 position, System::Numerics::Quaternion orientation);
public void ReportActualInstanceLocation (Microsoft.Azure.ObjectAnchors.ObjectInstance instance, Microsoft.Azure.ObjectAnchors.SpatialGraph.SpatialGraphCoordinateSystem coordinateSystem, System.Numerics.Vector3 position, System.Numerics.Quaternion orientation);
member this.ReportActualInstanceLocation : Microsoft.Azure.ObjectAnchors.ObjectInstance * Microsoft.Azure.ObjectAnchors.SpatialGraph.SpatialGraphCoordinateSystem * System.Numerics.Vector3 * System.Numerics.Quaternion -> unit
Public Sub ReportActualInstanceLocation (instance As ObjectInstance, coordinateSystem As SpatialGraphCoordinateSystem, position As Vector3, orientation As Quaternion)

Parameters

instance
ObjectInstance

An instance being tracked within this session.

coordinateSystem
SpatialGraphCoordinateSystem

Reference coordinate system for the user provided instance location.

position
Vector3

Instance position.

orientation
Quaternion

Instance orientation.

Applies to