Attention: Here be dragons (unstable version)

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Redot.

SphereOccluder3D

Inherits: Occluder3D < Resource < RefCounted < Object

Spherical shape for use with occlusion culling in OccluderInstance3D.

Description

SphereOccluder3D stores a sphere shape that can be used by the engine's occlusion culling system.

See OccluderInstance3D's documentation for instructions on setting up occlusion culling.

Tutorials

Properties

float

radius

1.0


Property Descriptions

float radius = 1.0 🔗

  • void set_radius(value: float)

  • float get_radius()

The sphere's radius in 3D units.