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.
Checking the stable version of the documentation...
OpenXRSpatialComponentPlaneAlignmentList
实验性: This class may be changed or removed in future versions.
继承: OpenXRSpatialComponentData < RefCounted < Object
用于存储查询平面对齐结果数据的对象。
描述
用于调用 OpenXRSpatialEntityExtension.query_snapshot() 时存储查询平面对齐结果数据的对象。
方法
get_plane_alignment(index: int) const |
枚举
enum PlaneAlignment: 🔗
PlaneAlignment PLANE_ALIGNMENT_HORIZONTAL_UPWARD = 0
平面面朝上。
PlaneAlignment PLANE_ALIGNMENT_HORIZONTAL_DOWNWARD = 1
平面面朝下。
PlaneAlignment PLANE_ALIGNMENT_VERTICAL = 2
平面垂直对齐。
PlaneAlignment PLANE_ALIGNMENT_ARBITRARY = 3
平面具有任意方向。
方法说明
PlaneAlignment get_plane_alignment(index: int) const 🔗
返回该 index 处父实体的平面对齐方式。