OpenXRSpatialComponentParentList
3D spatial snapshot data without automatic scene binding.
Component-data container for QuerySnapshot. OpenXRSpatialQueryResultData must be first in its array; use matching row indices/states. SetCapacity allocates rather than fetching/validating data. Raw poses/extents do not automatically apply WorldOrigin/reference frame/WorldScale.
Looks up the row parent runtime entity ID among existing spatial-entity RIDs in the current extension owner. Returns a borrowed RID or empty when absent; creates no entity. Not Entity.GetParent, a UUID or permission to free another owner RID. Requires successful query/live spatial extension; actual parent mapping was not executed.
Spatial entities. Ten bounded Windows XR-off checks covered metadata, null mesh and list behavior. Real snapshots/parents/bounds/poses, persistence headers, headsets and export remain untested. Engine Source, Runtime and SDK unchanged.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
OpenXRSpatialComponentParentListConstructor
public OpenXRSpatialComponentParentList();Creates a caller-owned RefCounted container without starting OpenXR, querying or persistence operations. Storage starts empty; constructor success establishes no runtime support. Keep owned resources alive during native use and release after detaching owned references; do not Dispose engine-owned wrappers.
Methods1
GetParentRid
public Rid GetParent(long index);Looks up the row parent runtime entity ID among existing spatial-entity RIDs in the current extension owner. Returns a borrowed RID or empty when absent; creates no entity. Not Entity.GetParent, a UUID or permission to free another owner RID. Requires successful query/live spatial extension; actual parent mapping was not executed.
| Name | Type | Default |
|---|---|---|
index | long | — |
indexZero-based filled-row index from the same QuerySnapshot, not entity ID. SetCapacity alone is insufficient for reading fetched data.
RidLooks up the row parent runtime entity ID among existing spatial-entity RIDs in the current extension owner. Returns a borrowed RID or empty when absent; creates no entity. Not Entity.GetParent, a UUID or permission to free another owner RID. Requires successful query/live spatial extension; actual parent mapping was not executed.