Creates a cuboid model.
Namespace: MindFusion.Charting.ThreeD
File: Scene3D.js
JavaScript
![]() |
---|
function buildCuboid (x1, y1, z1, x2, y2, z2, brush) |
Type: Number
X coordinate of a corner point of the cuboid.
Type: Number
Y coordinate of a corner point of the cuboid.
Type: Number
Z coordinate of a corner point of the cuboid.
Type: Number
X coordinate of diametrically opposite corner.
Type: Number
Y coordinate of diametrically opposite corner.
Type: Number
Z coordinate of diametrically opposite corner.
Type: Brush
The Brush used to paint the cuboid model.
Type: Mesh3D
A Mesh3D containing the cuboid faces.