SpatialGraphNode.FromDynamicNodeId(Guid) Method

Definition

Creating a SpatialGraphNode with given dynamic node id, or return null upon failure.

public static Microsoft.MixedReality.OpenXR.SpatialGraphNode FromDynamicNodeId (Guid id);
static member FromDynamicNodeId : Guid -> Microsoft.MixedReality.OpenXR.SpatialGraphNode
Public Shared Function FromDynamicNodeId (id As Guid) As SpatialGraphNode

Parameters

id
Guid

A GUID represents a spatial graph dynamic node.

Returns

Returns either a valid SpatialGraphNode object if succeeded or null if the given dynamic node id cannot be found at the moment.

Remarks

The application typically obtains the Guid for the dynamic node from other spatial graph driver APIs. For example, a dynamic node id representing the tracking of the Photo and Video camera on HoloLens 2 can be obtained from media foundation APIs for the camera.

Applies to