Occluder3D
Inherits: Resource < RefCounted < Object
Inherited by: ArrayOccluder3D, BoxOccluder3D, PolygonOccluder3D, QuadOccluder3D, SphereOccluder3D
Description
Section titled “Description”Occluder shape resource for use with occlusion culling in OccluderInstance3D.
Occluder3D stores an occluder shape that can be used by the engine’s occlusion culling system.
See OccluderInstance3D’s documentation for instructions on setting up occlusion culling.
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| PackedInt32Array | get_indices() const |
| PackedVector3Array | get_vertices() const |
Method descriptions
Section titled “Method descriptions”get_indices
PackedInt32Array get_indices() const
Returns the occluder shape’s vertex indices.
get_vertices
PackedVector3Array get_vertices() const
Returns the occluder shape’s vertex positions.
