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 ( float value )

  • float get_radius ( )

球体半径,使用 3D 单位。