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.

Occluder3D

继承: Resource < RefCounted < Object

派生: ArrayOccluder3D, BoxOccluder3D, PolygonOccluder3D, QuadOccluder3D, SphereOccluder3D

用于与 OccluderInstance3D 中的遮挡剔除一起使用的遮挡物形状资源。

描述

Occluder3D 存储一个遮挡器形状,可供引擎的遮挡剔除系统使用。

有关设置遮挡剔除的说明,请参阅 OccluderInstance3D 的文档。

教程

方法

PackedInt32Array

get_indices() const

PackedVector3Array

get_vertices() const


方法说明

PackedInt32Array get_indices() const 🔗

返回该遮挡器形状的顶点索引。


PackedVector3Array get_vertices() const 🔗

返回该遮挡器形状的顶点位置。