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...
Occluder3D
繼承: Resource < RefCounted < Object
被繼承: ArrayOccluder3D, BoxOccluder3D, PolygonOccluder3D, QuadOccluder3D, SphereOccluder3D
用於與 OccluderInstance3D 中的遮擋剔除一起使用的遮擋物形狀資源。
說明
Occluder3D 儲存一個遮擋器形狀,可供引擎的遮擋剔除系統使用。
有關設定遮擋剔除的說明,請參閱 OccluderInstance3D 的文件。
教學
方法
get_indices() const |
|
get_vertices() const |
方法說明
PackedInt32Array get_indices() const 🔗
返回該遮擋器形狀的頂點索引。
PackedVector3Array get_vertices() const 🔗
返回該遮擋器形狀的頂點位置。