Jump to content

API Panel.PCloud.SetMode: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<sidebar>API Contents</sidebar>
{| class="mtx-class-macrotable wikitable"
Sets the rendering mode of the point cloud
|-
 
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
<div style="width:25%; float:right" class="toc">
| width="90%" class="mtx-class-macrohead" | '''SetMode'''
====Class hierarchy====
|-
[[API Panel|Panel]]
| colspan="2" | Sets the rendering mode of the point cloud&nbsp;
:[[API Panel.PCloud|PCloud]]
|-
::[[API Panel.PCloud|SetMode]]
|-
</div>
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
__TOC__
| width="90%" | PCloud
 
==Parameters==
[[Variable Types|HANDLE]] ''PCloud''
:The handle to the cloud to adjust the graphics of
 
[[Variable Types|UINT]] ''DrawMode''
:The graphical mode to display the points with
:''Typical values for this parameter:''
::{| class="wikitable" width="65%"
|-
|-
! width="30%" |Name
| colspan="2" | The handle to the cloud to adjust the graphics of&nbsp;
! width="55%" |Description
|-
|-
|Mode_Point
| width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT
|Displays cloud as points
| width="90%" | DrawMode
|-
|-
|Mode_Line
| colspan="2" | The graphical mode to display the points with&nbsp;
|Displays cloud as joined lines
|-
|-
|Mode_Solid
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - NONE
|Displays cloud as a solid surface
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
|}




==Return value==
==Detailed description==
''This call does not return a value''


==Detailed description==
''<span style="color:red;">No additional information</span>''




Line 44: Line 29:
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.SetMode(pcloud, ::Panel.PCloud.Mode_Point)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.SetMode(pcloud, ::Panel.PCloud.Mode_Point)</pre>
''<span style="color:red;">No additional examples</span>''

Latest revision as of 14:11, 13 July 2026

SetMode
Sets the rendering mode of the point cloud 
- HANDLE PCloud
The handle to the cloud to adjust the graphics of 
- UINT DrawMode
The graphical mode to display the points with 
- NONE Return


Detailed description

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.PCloud.SetMode(pcloud, ::Panel.PCloud.Mode_Point)