SpatialGraphInteropPreview SpatialGraphInteropPreview SpatialGraphInteropPreview SpatialGraphInteropPreview 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 : static class SpatialGraphInteropPreview
static struct winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropPreview
public static class SpatialGraphInteropPreview
Public Shared Class SpatialGraphInteropPreview
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

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) CreateCoordinateSystemForNode(Guid) CreateCoordinateSystemForNode(Guid) CreateCoordinateSystemForNode(Guid) CreateCoordinateSystemForNode(Guid)

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

CreateCoordinateSystemForNode(Guid, Vector3) CreateCoordinateSystemForNode(Guid, Vector3) CreateCoordinateSystemForNode(Guid, Vector3) CreateCoordinateSystemForNode(Guid, Vector3) 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, Vector3, Quaternion) CreateCoordinateSystemForNode(Guid, Vector3, Quaternion) CreateCoordinateSystemForNode(Guid, Vector3, Quaternion) CreateCoordinateSystemForNode(Guid, Vector3, Quaternion) 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.

CreateLocatorForNode(Guid) CreateLocatorForNode(Guid) CreateLocatorForNode(Guid) CreateLocatorForNode(Guid) CreateLocatorForNode(Guid)

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

TryCreateFrameOfReference(SpatialCoordinateSystem) TryCreateFrameOfReference(SpatialCoordinateSystem) TryCreateFrameOfReference(SpatialCoordinateSystem) TryCreateFrameOfReference(SpatialCoordinateSystem) TryCreateFrameOfReference(SpatialCoordinateSystem)

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

TryCreateFrameOfReference(SpatialCoordinateSystem, Vector3) TryCreateFrameOfReference(SpatialCoordinateSystem, Vector3) TryCreateFrameOfReference(SpatialCoordinateSystem, Vector3) TryCreateFrameOfReference(SpatialCoordinateSystem, Vector3) 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, Vector3, Quaternion) TryCreateFrameOfReference(SpatialCoordinateSystem, Vector3, Quaternion) TryCreateFrameOfReference(SpatialCoordinateSystem, Vector3, Quaternion) TryCreateFrameOfReference(SpatialCoordinateSystem, Vector3, Quaternion) 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.