ctrlSetModelScale: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
Line 10: Line 10:
|descr= Sets 3D control model scale
|descr= Sets 3D control model scale


|s1= control '''ctrlSetModelScale''' scale
|s1= control [[ctrlSetModelScale]]  scale


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

Revision as of 17:43, 12 June 2021

Hover & click on the images for description

Description

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

Syntax

Syntax:
control ctrlSetModelScale scale
Parameters:
control : Control - 3D control
scale : Number
Return Value:
Nothing

Examples

Example 1:
_ctrl3D ctrlSetModelScale 1.5;

Additional Information

See also:
ctrlModelDirAndUpctrlCreatectrlDeletectrlModelctrlSetModelctrlSetModelDirAndUpctrlModelScalectrlPositionctrlScalectrlSetScalectrlSetPositionctrlClassNamevectorDirvectorUpsetVectorDirAndUp

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