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.

Occluder3D

Inherits: Resource < RefCounted < Object

Inherited By: ArrayOccluder3D, BoxOccluder3D, PolygonOccluder3D, QuadOccluder3D, SphereOccluder3D

Occluder shape resource for use with occlusion culling in OccluderInstance3D.

Description

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

PackedInt32Array

get_indices ( ) const

PackedVector3Array

get_vertices ( ) const


Method Descriptions

PackedInt32Array get_indices ( ) const

Returns the occluder shape's vertex indices.


PackedVector3Array get_vertices ( ) const

Returns the occluder shape's vertex positions.