Class: OctreeHelper

PD. OctreeHelper

A helper class for visualising a spatial octree.


new OctreeHelper()

Author:
  • drajmarsh

Extends

  • THREE.LineSegments

Members


:number

color

Stores the color to use for the display lines.

Type
  • number

:PD.Octree

octree

Stores the octree to be displayed.

Type

:string

type

Defines the class type.

Type
  • string

Methods


dispose()

Disposes of geometry and material resources.


update()

Updates the helper and generates the mesh.