Jump to content

API Panel.Position.RotateTo: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import of API auto-gen
 
Admin (talk | contribs)
XML import API auto-gen
Line 1: Line 1:
wiki page name
wiki page name
==Panel.PositionRotateTo==
Rotates the object to the given rotation


Rotates the object to the given rotation
----


===Parameters===
===Parameters===
Line 35: Line 33:


===Examples===
===Examples===
====Calling in a calculation:====
====Calling in a calculation====
* Add to a calculation icon: ::Panel.Position.RotateTo(handle, pivot, axis, x_pitch, y_yaw, z_roll)
* Add to a calculation icon: ::Panel.Position.RotateTo(handle, pivot, axis, x_pitch, y_yaw, z_roll)

Revision as of 15:34, 10 May 2013

wiki page name Rotates the object to the given rotation


Parameters

HANDLE Handle

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

HANDLE Pivot

The coordinates of the rotation center, Handle if zero

HANDLE Axis

An axis to align the angles to, Handle if zero

FLOAT X_Pitch

The absolute local X degrees to update with
The default value for this parameter is: 0

FLOAT Y_Yaw

The absolute local Y degrees to update with
The default value for this parameter is: 0

FLOAT Z_Roll

The absolute local Z degrees to update with
The default value for this parameter is: 0

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.RotateTo(handle, pivot, axis, x_pitch, y_yaw, z_roll)