Skip to content

OnFrustumEnterCallback

OnFrustumEnterCallback = (index, camera, cameraLOD?, LODIndex?) => boolean

Defined in: core/feature/FrustumCulling.ts:21

Callback invoked when an instance is within the frustum.

number

The index of the instance.

Camera

The camera used for rendering.

Camera

The camera used for LOD calculations (provided only if LODs are initialized).

number

The LOD level of the instance (provided only if LODs are initialized and sortObjects is false).

boolean

True if the instance should be rendered, false otherwise.