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