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.

OpenXRSpatialComponentMesh3DList

實驗性: This class may be changed or removed in future versions.

繼承: OpenXRSpatialComponentData < RefCounted < Object

用於儲存查詢 mesh3d 結果資料的物件。

說明

用於儲存呼叫 OpenXRSpatialEntityExtension.query_snapshot() 時生成的 3D 網格查詢結果資料的物件。

方法

Mesh

get_mesh(index: int) const

Transform3D

get_transform(index: int) const


方法說明

Mesh get_mesh(index: int) const 🔗

回傳位於該 index 處的實體的網格。


Transform3D get_transform(index: int) const 🔗

回傳用於定位該 index 處實體的網格的變換。