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.

SphereOccluder3D

繼承: Occluder3D < Resource < RefCounted < Object

OccluderInstance3D 中進行遮擋剔除的球體形狀。

說明

SphereOccluder3D 儲存的是球體形狀,可供引擎的遮擋剔除系統使用。

有關設定遮擋剔除的說明,請參閱 OccluderInstance3D 的文件。

教學

屬性

float

radius

1.0


屬性說明

float radius = 1.0 🔗

  • void set_radius(value: float)

  • float get_radius()

球體半徑,使用 3D 單位。