Spherical occlusion primitive for use with the Occluder node.
This shape can include multiple spheres. These can be created and deleted either in the Editor inspector or by calling
set_spheres. The sphere positions can be set by dragging the handle in the Editor viewport. The radius can be set with the smaller handle.
Array spheres =
[ Plane( 0, 0, 0, 1 ) ]
The sphere data can be accessed as an array of Planes. The position of each sphere is stored in the
normal, and the radius is stored in the
d value of the plane.
Sets an individual sphere's position.
Sets an individual sphere's radius.