PointCloudVisualCreateBox Method (Document, Int32, Color, Double, Double, Double) |
Create a box point cloud visual parented to the scene of the given document.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic static PointCloudVisual CreateBox(
Document doc,
int numPoints,
Color[] colors,
double width,
double height,
double depth
)
Parameters
- doc
- Type: Demo3D.VisualsDocument
Document to create the point cloud visual in. - numPoints
- Type: SystemInt32
Number of points to create in the box. - colors
- Type: System.DrawingColor
Color of the points to create in the box. - width
- Type: SystemDouble
Width of the box to create. - height
- Type: SystemDouble
Height of the box to create. - depth
- Type: SystemDouble
Depth of the box to create.
Return Value
Type:
PointCloudVisualNew point cloud visual containing the points in the requested box.
See Also