Renderer · function
batchBoxVisible
Whether a batch's box (instancesBox) can be seen at all: inside the frustum, and not behind the
declared occluders. One test for a whole region's props, run before any instance is looked at.
Explained in Hello world.
function batchBoxVisible(box: Float32Array, frustum: FrustumPlanes, occluder: BoxOccluder | null): booleanimport { batchBoxVisible } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
box | Float32Array | |
frustum | FrustumPlanes | |
occluder | BoxOccluder | null |