Share via


PerceptionInterop Class

Definition

Interop functions for Windows Perception APIs

public static class PerceptionInterop
type PerceptionInterop = class
Public Class PerceptionInterop
Inheritance
PerceptionInterop

Methods

GetSceneCoordinateSystem(Pose)

Get a COM wrapper object of a Windows.Perception.Spatial.SpatialCoordinateSystem object located at the given pose in the current Unity scene. If failed, the function returns nullptr. The application should acquire a new one when session origin is changed or tracking mode is changed by listening to XRInputSubsystem.trackingOriginUpdated and monitoring ARSession.currentTrackingMode.

Applies to