OccluderShapeSphere

Inherits: OccluderShape < Resource < Reference < Object Occluder node.

Description

OccluderShapes are resources used by Occluder nodes, allowing geometric occlusion culling. 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.

Properties

Methods

Property Descriptions

  • Array spheres Planes. The position of each sphere is stored in the normal, and the radius is stored in the d value of the plane.

    Method Descriptions

  • set_sphere_position ( int index, Vector3 position ) Sets an individual sphere’s position.

  • set_sphere_radius ( int index, float radius ) Sets an individual sphere’s radius.