Class reference

ArrayOccluder3D

Inherits Occluder3D

3D polygon shape for use with occlusion culling in OccluderInstance3D.

Description

ArrayOccluder3D stores an arbitrary 3D polygon shape that can be used by the engine's occlusion culling system. This is analogous to ArrayMesh, but for occluders. See OccluderInstance3D's documentation for instructions on setting up occlusion culling.

Properties

PackedInt32Array indices = PackedInt32Array()

The occluder's index position. Indices determine which points from the vertices array should be drawn, and in which order. Note: The occluder is always updated after setting this value. If creating occluders procedurally, consider using set_arrays() instead to avoid updating the occluder twice when it's created.

PackedVector3Array vertices = PackedVector3Array()

The occluder's vertex positions in local 3D coordinates. Note: The occluder is always updated after setting this value. If creating occluders procedurally, consider using set_arrays() instead to avoid updating the occluder twice when it's created.

Methods

Tutorials

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.