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 處父實體的平面語義標籤。