ctrlAngle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
(formatting and new command group)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3


|1.52
|version1= 1.52


|gr1= GUI Control
|gr1= GUI Control - Positioning


| Gets rotation info of an <tt>ST_PICTURE</tt> control.
|descr= Gets rotation info of an <tt>ST_PICTURE</tt> control.


| [[ctrlAngle]] control
|s1= [[ctrlAngle]] control


|p1= control : [[Control]]  - picture control
|p1= control : [[Control]]  - picture control


| [[Array]] - format [angle, centerX, centerY]
|r1= [[Array]] - format [angle, centerX, centerY]


|x1= <code>[[ctrlAngle]] _control;</code>
|x1= <code>[[ctrlAngle]] _control;</code>

Revision as of 02:25, 5 March 2021

Hover & click on the images for description

Description

Description:
Gets rotation info of an ST_PICTURE control.
Groups:
GUI Control - Positioning

Syntax

Syntax:
ctrlAngle control
Parameters:
control : Control - picture control
Return Value:
Array - format [angle, centerX, centerY]

Examples

Example 1:
ctrlAngle _control;

Additional Information

See also:
ctrlSetAngle

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note