Class

FrustumCuller

FrustumCuller()

Hide elements out of the view

Constructor

new FrustumCuller()

Constructor

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

Methods

cullNode(node, isRootNode)

Visits a node and his children
Parameters:
Name Type Default Description
node Node A Node instance to visit
isRootNode boolean false True for the root node

View Source Extra/Culling/FrustumCuller.js, line 57

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/FrustumCuller.js, line 40

An array of visibles Node
Array.<Node>