OpenXRSpatialComponentBounded3DList
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.
Center pose from a filled Bounded3D row as Transform3D. Converts raw OpenXR pose without WorldOrigin, reference frame or WorldScale; not an Entity GlobalTransform. Requires successful QuerySnapshot and valid tracking state. Identity after an index/API error is no confirmed pose.
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
OpenXRSpatialComponentBounded3DListConstructor
public OpenXRSpatialComponentBounded3DList();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.
Methods2
GetCenterPoseTransform3D
public Transform3D GetCenterPose(long index);Center pose from a filled Bounded3D row as Transform3D. Converts raw OpenXR pose without WorldOrigin, reference frame or WorldScale; not an Entity GlobalTransform. Requires successful QuerySnapshot and valid tracking state. Identity after an index/API error is no confirmed pose.
| 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.
Transform3DCenter pose from a filled Bounded3D row as Transform3D. Converts raw OpenXR pose without WorldOrigin, reference frame or WorldScale; not an Entity GlobalTransform. Requires successful QuerySnapshot and valid tracking state. Identity after an index/API error is no confirmed pose.
GetSizeVector3
public Vector3 GetSize(long index);Filled-row width/height/depth extents as Vector3 in runtime units, not pixels. Applies no WorldScale and creates no BoxShape3D. Validate successful query, row index/state and positive sizes before building geometry; Vector3.Zero after an error proves no detected region.
| 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.
Vector3Filled-row width/height/depth extents as Vector3 in runtime units, not pixels. Applies no WorldScale and creates no BoxShape3D. Validate successful query, row index/state and positive sizes before building geometry; Vector3.Zero after an error proves no detected region.