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.

OpenXRSpatialComponentPlaneSemanticLabelList

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

继承: OpenXRSpatialComponentData < RefCounted < Object

用于存储查询平面语义标签结果数据的对象。

描述

用于调用 OpenXRSpatialEntityExtension.query_snapshot() 时存储查询平面语义标签结果数据的对象。

方法

PlaneSemanticLabel

get_plane_semantic_label(index: int) const


枚举

enum PlaneSemanticLabel: 🔗

PlaneSemanticLabel PLANE_SEMANTIC_LABEL_UNCATEGORIZED = 1

未分类的平面。

PlaneSemanticLabel PLANE_SEMANTIC_LABEL_FLOOR = 2

平面代表地面。

PlaneSemanticLabel PLANE_SEMANTIC_LABEL_WALL = 3

平面代表一面墙。

PlaneSemanticLabel PLANE_SEMANTIC_LABEL_CEILING = 4

平面代表天花板。

PlaneSemanticLabel PLANE_SEMANTIC_LABEL_TABLE = 5

平面代表桌子的表面。


方法说明

PlaneSemanticLabel get_plane_semantic_label(index: int) const 🔗

返回该 index 处父实体的平面语义标签。