Share via


SpatialGraphInteropPreview Class

Definition

Provides preview functionality that lets apps track spatial nodes, allowing the user to reason about places and things in their surroundings.

public ref class SpatialGraphInteropPreview abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SpatialGraphInteropPreview final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class SpatialGraphInteropPreview
Public Class SpatialGraphInteropPreview
Inheritance
Object Platform::Object IInspectable SpatialGraphInteropPreview
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

Note

You generally won't write code against this type yourself. Instead, you'll use a library designed for a given kind of spatial node, with that library calling into this type on your behalf.

Version history

Windows version SDK version Value added
1903 18362 TryCreateFrameOfReference(SpatialCoordinateSystem)
1903 18362 TryCreateFrameOfReference(SpatialCoordinateSystem,Vector3)
1903 18362 TryCreateFrameOfReference(SpatialCoordinateSystem,Vector3,Quaternion)

Methods

CreateCoordinateSystemForNode(Guid, Vector3, Quaternion)

Creates a spatial coordinate system that tracks adjustments to a static spatial node with its origin offset and rotated by the specified relative position and orientation.

CreateCoordinateSystemForNode(Guid, Vector3)

Creates a spatial coordinate system that tracks adjustments to a static spatial node with its origin offset by the specified relative position.

CreateCoordinateSystemForNode(Guid)

Creates a spatial coordinate system that tracks adjustments to a static spatial node.

CreateLocatorForNode(Guid)

Creates a spatial locator that tracks the motion of a dynamic spatial node.

TryCreateFrameOfReference(SpatialCoordinateSystem, Vector3, Quaternion)

Creates an interop frame of reference based on a given spatial coordinate system with its origin offset and rotated by the specified relative position and orientation.

TryCreateFrameOfReference(SpatialCoordinateSystem, Vector3)

Creates an interop frame of reference based on a given spatial coordinate system with its origin offset by the specified relative position.

TryCreateFrameOfReference(SpatialCoordinateSystem)

Creates an interop frame of reference based on a given spatial coordinate system.

Applies to