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 - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 20: Line 20:
|x1= <code>_ctrl3D [[ctrlSetModelScale]] 1.5;</code>
|x1= <code>_ctrl3D [[ctrlSetModelScale]] 1.5;</code>


|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]]
}}
}}

Revision as of 16:09, 20 January 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 ctrlSetPositionctrlClassNamevectorDirvectorUpsetVectorDirAndUp

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