Click or drag to resize

PointCloudVisualCreateBoxSurface Method (Document, Int32, Color, Double)

Create a cube surface 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
Syntax
C#
public static PointCloudVisual CreateBoxSurface(
	Document doc,
	int numPoints,
	Color[] colors,
	double size
)

Parameters

doc
Type: Demo3D.VisualsDocument
Document to create the point cloud visual in.
numPoints
Type: SystemInt32
Number of points to create on the box.
colors
Type: System.DrawingColor
Colors of the points to create on the box.
size
Type: SystemDouble
The size of the box in meters.

Return Value

Type: PointCloudVisual
New point cloud visual containing the points on the requested box.
See Also