ctrlModelScale: 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.32
|version1= 1.32


|gr1= GUI Control - Object
|gr1= GUI Control - Object


| Returns 3D control model scale
|gr2= GUI Control - Positioning


| '''ctrlModelScale''' control
|descr= Returns 3D control model scale.
 
|s1= '''ctrlModelScale''' control


|p1= control : [[Control]] - 3D control
|p1= control : [[Control]] - 3D control


| [[Number]]
|r1= [[Number]]


|x1= <code>_currentScale = [[ctrlModelScale]] _ctrl3D;</code>
|x1= <code>_currentScale = [[ctrlModelScale]] _ctrl3D;</code>

Revision as of 12:06, 5 March 2021

Hover & click on the images for description

Description

Description:
Returns 3D control model scale.
Groups:
GUI Control - ObjectGUI Control - Positioning

Syntax

Syntax:
ctrlModelScale control
Parameters:
control : Control - 3D control
Return Value:
Number

Examples

Example 1:
_currentScale = ctrlModelScale _ctrl3D;

Additional Information

See also:
ctrlModelDirAndUpctrlCreatectrlDeletectrlModelctrlSetModelctrlSetModelDirAndUpctrlSetModelScalectrlPositionctrlScalectrlSetScalectrlSetPositionctrlClassNamevectorDirvectorUpsetVectorDirAndUp

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