Dela via


SpatialGraphInteropPreview.CreateLocatorForNode(Guid) Method

Definition

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

public:
 static SpatialLocator ^ CreateLocatorForNode(Platform::Guid nodeId);
 static SpatialLocator CreateLocatorForNode(winrt::guid const& nodeId);
public static SpatialLocator CreateLocatorForNode(Guid nodeId);
function createLocatorForNode(nodeId)
Public Shared Function CreateLocatorForNode (nodeId As Guid) As SpatialLocator

Parameters

nodeId
Guid

Platform::Guid

winrt::guid

The dynamic spatial node's ID.

Returns

The spatial locator.

Applies to