API Panel.PCloud
From Flowcode Help
Jump to navigationJump to search<sidebar>API Contents</sidebar> Point cloud manipulation
This class is contained within Panel.
Contents
Functions provided for this class
| Create | Creates a new point cloud tied to a position handle |
| SetPos | Sets the position for the point cloud to be located at |
| GetPos | Gets the position the point cloud is located at |
| SetPoints | Sets the X,Y,Z point lists |
| SetPointsEx | Sets the X,Y,Z point lists |
| SetGrid | Sets the X,Y,Z point lists in a height-map grid |
| SetGridEx | Sets the X,Y,Z point lists in a height-map grid |
| SetGridFlat | Sets the X,Y,Z point lists in a flat height-map grid |
| SetGridPoint | Given an XY on the grid, sets the vertex value at that point |
| UnitScale | Creates a unit scaled axis (X, Y or Z) with a center of zero and a range of two |
| SetColor | Sets the RGB colour of the entire cloud |
| SetColors | Sets the RGB colour of the individual points in the cloud |
| SetGridColor | Given an XY on the grid, sets the vertex colour at that point |
| SetMode | Sets the rendering mode of the point cloud |
| SetPointLight | Enables or disables simple lighting for point mode, providing a normal passing through the point and (0,0,0) |
| Update | Manually refresh the screen the point cloud exists on |
Constants provided for this class
| Type | Name | Value | Description |
|---|---|---|---|
| LONG | Mode_Point | 0 | Displays cloud as points |
| LONG | Mode_Line | 1 | Displays cloud as joined lines |
| LONG | Mode_Solid | 2 | Displays cloud as a solid surface |
Examples
No additional examples
See also
No additional information