Difference between revisions of "API Panel.Position.GetScale"

From Flowcode Help
Jump to navigationJump to search
(XML import of API auto-gen)
(XML import)
Line 2: Line 2:
 
Returns the positions scale in {X,Y,Z} array
 
Returns the positions scale in {X,Y,Z} array
  
 +
<div style="width:25%; float:right" class="toc">
 +
===Class hierarchy===
 +
:Panel
 +
::Position
 +
:::GetScale
 +
</div>
 +
__TOC__
  
===Parameters===
+
==Parameters==
 
''[[Variable types|HANDLE]] Handle''
 
''[[Variable types|HANDLE]] Handle''
 
:The position or component to read
 
:The position or component to read
Line 12: Line 19:
 
:''The default value for this parameter is: '''''this'''
 
:''The default value for this parameter is: '''''this'''
  
===Return value===
+
==Return value==
 
[[Variable types|FLOAT[]]]
 
[[Variable types|FLOAT[]]]
  
 
Returns the positions scale in {X,Y,Z} array
 
Returns the positions scale in {X,Y,Z} array
  
===Detailed description===
+
==Detailed description==
 
''No additional information''
 
''No additional information''
  
===Examples===
+
==Examples==
====Calling in a calculation====
+
===Calling in a calculation===
 
* Declare a variable 'result' of type FLOAT[]
 
* Declare a variable 'result' of type FLOAT[]
* Add to a calculation icon: <pre class="brush:[C]">result = ::Panel.Position.GetScale(handle, target)</pre>
+
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Panel.Position.GetScale(handle, target)</pre>

Revision as of 16:10, 11 May 2013

<sidebar>API contents</sidebar> Returns the positions scale in {X,Y,Z} array

Class hierarchy

Panel
Position
GetScale

Parameters

HANDLE Handle

The position or component to read
The default value for this parameter is: this

HANDLE Target

The position or component to convert relative to
The default value for this parameter is: this

Return value

FLOAT[]

Returns the positions scale in {X,Y,Z} array

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type FLOAT[]
  • Add to a calculation icon:
    result = ::Panel.Position.GetScale(handle, target)