ctrlSetModelScale: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
|version1= 1.32


|1.32
|gr1= GUI Control - Object


|gr1= GUI Control - Object
|gr2= GUI Control - Positioning


| Sets 3D control model scale
|descr= Sets 3D control model scale


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


|p1= control : [[Control]] - 3D control
|p1= control : [[Control]] - 3D control
|p2= scale : [[Number]]
|p2= scale : [[Number]]


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_ctrl3D [[ctrlSetModelScale]] 1.5;</code>
|x1= <sqf>_ctrl3D ctrlSetModelScale 1.5;</sqf>


|seealso= [[ctrlModelDirAndUp]], [[ctrlCreate]], [[ctrlDelete]], [[ctrlModel]], [[ctrlSetModel]], [[ctrlSetModelDirAndUp]], [[ctrlModelScale]], [[ctrlPosition]], [[ctrlScale]], [[ctrlSetScale]], [[ctrlSetPosition]], [[ctrlClassName]], [[vectorDir]], [[vectorUp]], [[setVectorDirAndUp]]
|seealso= [[ctrlModelDirAndUp]] [[ctrlCreate]] [[ctrlDelete]] [[ctrlModel]] [[ctrlSetModel]] [[ctrlSetModelDirAndUp]] [[ctrlModelScale]] [[ctrlPosition]] [[ctrlScale]] [[ctrlSetScale]] [[ctrlSetPosition]] [[ctrlClassName]] [[vectorDir]] [[vectorUp]] [[setVectorDirAndUp]]
}}
}}

Latest revision as of 10:22, 13 May 2022

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:
ctrlModelDirAndUp ctrlCreate ctrlDelete ctrlModel ctrlSetModel ctrlSetModelDirAndUp ctrlModelScale ctrlPosition ctrlScale ctrlSetScale ctrlSetPosition ctrlClassName vectorDir vectorUp setVectorDirAndUp

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