Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

OpenXRSpatialComponentBounded3DList

实验性: This class may be changed or removed in future versions.

继承: OpenXRSpatialComponentData < RefCounted < Object

用于存储查询 bounded3d 结果数据的对象。

描述

用于存储调用 OpenXRSpatialEntityExtension.query_snapshot() 时查询到的 3D 边界框结果数据的对象。

方法

Transform3D

get_center_pose(index: int) const

Vector3

get_size(index: int) const


方法说明

Transform3D get_center_pose(index: int) const 🔗

返回位于该 index 处的实体的边界框中心点。


Vector3 get_size(index: int) const 🔗

返回该 index 处实体的边界框大小。