Attention

You are reading the latest (unstable) version of this documentation, which may document features not available or compatible with Godot 3.x.

Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.

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.

Properties

float

radius

1.0


Property Descriptions

float radius = 1.0

  • void set_radius ( float value )

  • float get_radius ( )

The sphere's radius in 3D units.