Class

CullingManager

CullingManager()

Culling manager

Constructor

new CullingManager()

Constructor

View Source Extra/Culling/CullingManager.js, line 9

Methods

add(name, culler)

Add a Culler instance
Parameters:
Name Type Description
name string Name to assign
culler Culler A Culler instance

View Source Extra/Culling/CullingManager.js, line 32

enable(name, value)

Enable/Disable a Culler
Parameters:
Name Type Description
name string Name of the Culler
value boolean True to enable, false to disable

View Source Extra/Culling/CullingManager.js, line 42

execute(node, camera) → {Array.<Node>}

Execute culling
Parameters:
Name Type Description
node Node A Node instance
camera Camera A Camera instance

View Source Extra/Culling/CullingManager.js, line 56

An array of Nodes
Array.<Node>