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

From Flowcode Help
Jump to navigationJump to search
(XML import)
Line 1: Line 1:
<sidebar>API Contents</sidebar>
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
Creates a unit scaled axis (X, Y or Z) with a center of zero and a range of two
+
|-
 
+
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
<div style="width:25%; float:right" class="toc">
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''UnitScale'''
====Class hierarchy====
+
|-
[[API Panel|Panel]]
+
| colspan="2" | Creates a unit scaled axis (X, Y or Z) with a center of zero and a range of two&nbsp;
:[[API Panel.PCloud|PCloud]]
+
|-
::[[API Panel.PCloud|UnitScale]]
+
|-
</div>
+
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[]
__TOC__
+
| width="90%" | Axis
 
+
|-
==Parameters==
+
| colspan="2" | The X, Y or Z axis to adjust&nbsp;
[[Variable Types|FLOAT[]]] ''Axis''
+
|-
:The X, Y or Z axis to adjust
+
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 
+
| width="90%" | Offset
[[Variable Types|ULONG]] ''Offset''
+
|-
:The first item in the array to adjust
+
| colspan="2" | The first item in the array to adjust&nbsp;
:''The default value for this parameter is: '''''0'''
+
|-
 
+
| width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG
[[Variable Types|LONG]] ''ArrayStep''
+
| width="90%" | ArrayStep
:The number of elements from the first to the second
+
|-
:''The default value for this parameter is: '''''1'''
+
| colspan="2" | The number of elements from the first to the second&nbsp;
 
+
|-
[[Variable Types|ULONG]] ''Elements''
+
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
:The number of points to adjust
+
| width="90%" | Elements
 
+
|-
[[Variable Types|FLOAT]] ''OrigOffset''
+
| colspan="2" | The number of points to adjust&nbsp;
:Returns the center of the original object
+
|-
:''This parameter is returned back to the caller''
+
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 
+
| width="90%" | OrigOffset
[[Variable Types|FLOAT]] ''OrigRange''
+
|-
:Returns the range of the original object
+
| colspan="2" | Returns the center of the original object&nbsp;
:''This parameter is returned back to the caller''
+
|-
 
+
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 
+
| width="90%" | OrigRange
==Return value==
+
|-
''This call does not return a value''
+
| colspan="2" | Returns the range of the original object&nbsp;
 +
|-
 +
| 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''
 +
|}
  
  

Revision as of 11:41, 16 January 2023

Fc9-comp-macro.png UnitScale
Creates a unit scaled axis (X, Y or Z) with a center of zero and a range of two 
Fc9-f32-icon.png - FLOAT[] Axis
The X, Y or Z axis to adjust 
Fc9-u32-icon.png - ULONG Offset
The first item in the array to adjust 
Fc9-s32-icon.png - LONG ArrayStep
The number of elements from the first to the second 
Fc9-u32-icon.png - ULONG Elements
The number of points to adjust 
Fc9-f32-icon.png - FLOAT OrigOffset
Returns the center of the original object 
Fc9-f32-icon.png - FLOAT OrigRange
Returns the range of the original object 
Fc9-void-icon.png - NONE Return


Detailed description

No additional information


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.PCloud.UnitScale(_arrayaxis, offset, arraystep, elements, return_origoffset, return_origrange)

No additional examples