API Panel.PCloud.SetPos
From Flowcode Help
Jump to navigationJump to search
Detailed description
This sets the position the point cloud will fill in. That is for any axis the range -1 to 1 in the point cloud will be mapped to the opposite walls of the positions bounding box.
If Track is true, the point clouds position will automatically be updated when the position changes, otherwise the point cloud remains at the specified position even if the owning object moves.
Note that for component positions the point cloud will redraw when the components position is altered, as moving a component invokes a redraw of the screen. However, adjusting dynamic position objects does not redraw the screen, and Update must be called to force a redraw of the point cloud.
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.PCloud.SetPos(pcloud, pos, false)
No additional examples