Jump to content

API Panel.PCloud.SetGridPoint: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import of API documentation
 
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="mtx-class-macrotable wikitable"
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" class="mtx-class-macrohead" | '''SetGridPoint'''
|-
| colspan="2" | Given an XY on the grid, sets the vertex value at that point 
|-
|-
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
| width="90%" | PCloud
|-
| colspan="2" | The handle to the cloud to adjust the colors of 
|-
| width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG
| width="90%" | Gx
|-
| colspan="2" | The X coordinate on the grid 
|-
| width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG
| width="90%" | Gy
|-
| colspan="2" | The Y coordinate on the grid 
|-
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| width="90%" | Px
|-
| colspan="2" | The X of the vertex to set the point to 
|-
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| width="90%" | Py
|-
| colspan="2" | The Y of the vertex to set the point to 
|-
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| width="90%" | Pz
|-
| colspan="2" | The Z of the vertex to set the point to 
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - NONE
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}




<sidebar>API Contents</sidebar>
==Detailed description==
Given an XY on the grid, sets the vertex value at that point
 
<div style="width:25%; float:right" class="toc">
====Class hierarchy====
[[API Panel|Panel]]
:[[API Panel.PCloud|PCloud]]
::[[API Panel.PCloud|SetGridPoint]]
</div>
__TOC__
 
==Parameters==
[[Variable Types|HANDLE]] ''PCloud''
:The handle to the cloud to adjust the colors of


[[Variable Types|LONG]] ''Gx''
:The X coordinate on the grid
[[Variable Types|LONG]] ''Gy''
:The Y coordinate on the grid
[[Variable Types|FLOAT]] ''Px''
:The X of the vertex to set the point to
[[Variable Types|FLOAT]] ''Py''
:The Y of the vertex to set the point to
[[Variable Types|FLOAT]] ''Pz''
:The Z of the vertex to set the point to
==Return value==
''This call does not return a value''
==Detailed description==
''<span style="color:red;">No additional information</span>''




Line 43: Line 49:
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.SetGridPoint(pcloud, gx, gy, px, py, pz)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.SetGridPoint(pcloud, gx, gy, px, py, pz)</pre>
''<span style="color:red;">No additional examples</span>''

Latest revision as of 14:11, 13 July 2026

SetGridPoint
Given an XY on the grid, sets the vertex value at that point 
- HANDLE PCloud
The handle to the cloud to adjust the colors of 
- LONG Gx
The X coordinate on the grid 
- LONG Gy
The Y coordinate on the grid 
- FLOAT Px
The X of the vertex to set the point to 
- FLOAT Py
The Y of the vertex to set the point to 
- FLOAT Pz
The Z of the vertex to set the point to 
- NONE Return


Detailed description

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.PCloud.SetGridPoint(pcloud, gx, gy, px, py, pz)