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

From Flowcode Help
Jump to navigationJump to search
(XML Import to change Variable types into Variable Types)
Line 23: Line 23:
  
 
==Detailed description==
 
==Detailed description==
''<span style="color:red;">No additional information</span>''
+
This is equivalent to the call to [[API Panel.Position.Set|Set]], except that the ''coordinates'' and ''rotation'' of the position are omitted. These may be set with [[API Panel.Position.SetCoords|SetCoords]] and [[API Panel.Position.SetRotation|SetRotation]].
 +
 
 +
 
 +
This call is useful for building up a position from multiple sources.
 +
 
 +
 
  
  

Revision as of 23:52, 13 June 2013

<sidebar>API contents</sidebar> Sets an objects scale based on a position

Class hierarchy

Panel

Position
SetScale

Parameters

HANDLE Dest

The position or component to update

HANDLE Source

The position or component to read from


Return value

This call does not return a value


Detailed description

This is equivalent to the call to Set, except that the coordinates and rotation of the position are omitted. These may be set with SetCoords and SetRotation.


This call is useful for building up a position from multiple sources.



Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Position.SetScale(dest, source)

No additional information