Share via


SpatialGraphNode Class

Definition

A spatial graph node represents a spatially tracked point provided by the driver.

public class SpatialGraphNode
type SpatialGraphNode = class
Public Class SpatialGraphNode
Inheritance
SpatialGraphNode

Remarks

There are two types of spatial graph nodes: static and dynamic.

A static spatial graph node tracks the pose of a fixed location in the world. The tracking of static nodes may slowly adjust the pose over time for better accuracy but the pose is relatively stable in the short term, such as between rendering frames.

A dynamic spatial graph node tracks the pose of a physical object that moves continuously relative to reference spaces. The pose of a dynamic spatial graph node can be very different within the duration of a rendering frame.

Properties

Id

Get the Guid of the SpatialGraphNode

Methods

FromDynamicNodeId(Guid)

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

FromStaticNodeId(Guid)

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

TryLocate(FrameTime, Pose)

Locate the SpatialGraphNode at the given frame time. The returned pose is in the current Unity scene origin space.

TryLocate(Int64, Pose)

Locate the SpatialGraphNode at the given QPC time. The returned pose is in the current Unity scene origin space.

Applies to