API Panel.PCloud.UnitScale: Difference between revisions
Appearance
XML import of Point Cloud API |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (6 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" | '''UnitScale''' | |||
|- | |||
| colspan="2" | Creates a unit scaled axis (X, Y or Z) with a center of zero and a range of two | |||
|- | |||
|- | |||
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT[] | |||
| width="90%" | Axis | |||
|- | |||
| colspan="2" | The X, Y or Z axis to adjust | |||
|- | |||
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG | |||
| width="90%" | Offset | |||
|- | |||
| colspan="2" | The first item in the array to adjust | |||
|- | |||
| width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG | |||
| width="90%" | ArrayStep | |||
|- | |||
| colspan="2" | The number of elements from the first to the second | |||
|- | |||
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG | |||
| width="90%" | Elements | |||
|- | |||
| colspan="2" | The number of points to adjust | |||
|- | |||
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | |||
| width="90%" | OrigOffset | |||
|- | |||
| colspan="2" | Returns the center of the original object | |||
|- | |||
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | |||
| width="90%" | OrigRange | |||
|- | |||
| colspan="2" | Returns the range of the original object | |||
|- | |||
| 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'' | |||
|} | |||
==Detailed description== | |||
== | |||
| Line 47: | Line 49: | ||
===Calling in a calculation=== | ===Calling in a calculation=== | ||
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.UnitScale(_arrayaxis, offset, arraystep, elements, return_origoffset, return_origrange)</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">::Panel.PCloud.UnitScale(_arrayaxis, offset, arraystep, elements, return_origoffset, return_origrange)</pre> | ||
Latest revision as of 14:11, 13 July 2026
Detailed description
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.PCloud.UnitScale(_arrayaxis, offset, arraystep, elements, return_origoffset, return_origrange)