LocalCube

LocalCube

Fake ball in Nil.

Constructor

new LocalCube(location, sides, smoothness, material, ptMaterial)

Source:

Constructor.

Parameters:
Name Type Description
location Isometry | Point

the location of the cube

sides Vector3 | number

the half width of the cube

smoothness number

the length of the sides

material Material

the material of the ball

ptMaterial PTMaterial

material for path tracing (optional)

Classes

LocalCube