Interface CuboidOptions

Optional arguments for procedural meshes which accept hints.

Hierarchy

Properties

backMaterial?: Material

The material to use for the back (-Z) cube face.

backUVs?: number | CuboidFaceUVs

The UVs for the back (-Z) face.

center?: boolean

Should the cube be centered? True by default. If true, then the center of mass will be at (0, 0, 0), otherwise one of the corners will be at (0, 0, 0), and another at (widht, height, depth).

downMaterial?: Material

The material to use for the down (-Y) cube face.

downUVs?: number | CuboidFaceUVs

The UVs for the down (-Y) face.

frontMaterial?: Material

The material to use for the front (+Z) cube face.

frontUVs?: number | CuboidFaceUVs

The UVs for the front (+Z) face.

hints?: HintMap

How many sub-divisions should there be around the radial axis?

leftMaterial?: Material

The material to use for the left (-X) cube face.

leftUVs?: number | CuboidFaceUVs

The UVs for the left (-X) face.

material?: Material

The material to use for all of the cube faces, or the cube faces that weren't specified.

rightMaterial?: Material

The material to use for the right (+X) cube face.

rightUVs?: number | CuboidFaceUVs

The UVs for the right (+X) face.

upMaterial?: Material

The material to use for the up (+Y) cube face.

upUVs?: number | CuboidFaceUVs

The UVs for the up (+Y) face.

Generated using TypeDoc