Difference between revisions of "API Panel.PCloud.SetMode"

From Flowcode Help
Jump to navigationJump to search
(XML import of API documentation)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
+
|-
<sidebar>API Contents</sidebar>
+
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Sets the rendering mode of the point cloud
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetMode'''
 
+
|-
<div style="width:25%; float:right" class="toc">
+
| colspan="2" | Sets the rendering mode of the point cloud&nbsp;
====Class hierarchy====
+
|-
[[API Panel|Panel]]
+
|-
:[[API Panel.PCloud|PCloud]]
+
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
::[[API Panel.PCloud|SetMode]]
+
| width="90%" | PCloud
</div>
 
__TOC__
 
 
 
==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 46: 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 11:54, 16 January 2023

Fc9-comp-macro.png SetMode
Sets the rendering mode of the point cloud 
Fc9-h32-icon.png - HANDLE PCloud
The handle to the cloud to adjust the graphics of 
Fc9-u16-icon.png - UINT DrawMode
The graphical mode to display the points with 
Fc9-void-icon.png - NONE Return


Detailed description

Examples

Calling in a calculation

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