PointCloudVisualCreateSphere(Document, Int32, Color, Double) Method |
Create a sphere point cloud visual parented to the scene of the given document.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic static PointCloudVisual CreateSphere(
Document doc,
int numPoints,
Color color,
double radius
)
Parameters
- doc Document
- Document to create the point cloud visual in.
- numPoints Int32
- Number of points to create in the sphere.
- color Color
- Color of the points to create in the sphere.
- radius Double
- The radius of the sphere in meters.
Return Value
PointCloudVisualNew point cloud visual containing the points in the requested sphere.
See Also