ctrlSetModelScale: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(10 intermediate revisions by the same user not shown)
Line 18: Line 18:
|r1= [[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