Jump to content

API Panel.Position.ScaleTo: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 3: Line 3:


<div style="width:25%; float:right" class="toc">
<div style="width:25%; float:right" class="toc">
===Class hierarchy===[[API Panel|Panel]]
====Class hierarchy====
[[API Panel|Panel]]
:[[API Panel.Position|Position]]
:[[API Panel.Position|Position]]
::[[API Panel.Position|ScaleTo]]
::[[API Panel.Position|ScaleTo]]
Line 10: Line 11:


==Parameters==
==Parameters==
''[[Variable types|HANDLE]] Handle''
[[Variable types|HANDLE]] ''Handle''
:The position or component to update
:The position or component to update
:''The default value for this parameter is: '''''this'''
:''The default value for this parameter is: '''''this'''


''[[Variable types|FLOAT]] X''
[[Variable types|FLOAT]] ''X''
:The local X scale to set to
:The local X scale to set to


''[[Variable types|FLOAT]] Y''
[[Variable types|FLOAT]] ''Y''
:The local Y scale to set to
:The local Y scale to set to


''[[Variable types|FLOAT]] Z''
[[Variable types|FLOAT]] ''Z''
:The local Z scale to set to
:The local Z scale to set to


Line 27: Line 28:


==Detailed description==
==Detailed description==
''No additional information''
''<span style="color:red;">No additional information</span>''
 


==Examples==
==Examples==
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Position.ScaleTo(handle, x, y, z)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Position.ScaleTo(handle, x, y, z)</pre>
''<span style="color:red;">No additional information</span>''

Revision as of 22:08, 11 May 2013

<sidebar>API contents</sidebar> Sets the objects scale to a value

Class hierarchy

Panel

Position
ScaleTo

Parameters

HANDLE Handle

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

FLOAT X

The local X scale to set to

FLOAT Y

The local Y scale to set to

FLOAT Z

The local Z scale to set to

Return value

This call does not return a value

Detailed description

No additional information


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Position.ScaleTo(handle, x, y, z)

No additional information