ctrlModel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>")
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
|r1= [[String]] - model path
|r1= [[String]] - model path


|x1= <code>_model = [[ctrlModel]] _control3D;</code>
|x1= <sqf>_model = ctrlModel _control3D;</sqf>


|seealso= [[ctrlCreate]] [[ctrlDelete]] [[ctrlSetModel]] [[ctrlPosition]] [[ctrlSetPosition]] [[ctrlClassName]] [[displayCtrl]] [[ctrlModelScale]] [[ctrlSetModelScale]], [[ctrlModelDirAndUp]], [[ctrlSetModelDirAndUp]]
|seealso= [[ctrlCreate]] [[ctrlDelete]] [[ctrlSetModel]] [[ctrlPosition]] [[ctrlSetPosition]] [[ctrlClassName]] [[displayCtrl]] [[ctrlModelScale]] [[ctrlSetModelScale]] [[ctrlModelDirAndUp]] [[ctrlSetModelDirAndUp]]
}}
}}

Latest revision as of 21:24, 7 May 2022

Hover & click on the images for description

Description

Description:
Returns model used in 3D-Dialog.
Groups:
GUI Control - Object

Syntax

Syntax:
ctrlModel control
Parameters:
control : Control - 3D control
Return Value:
String - model path

Examples

Example 1:
_model = ctrlModel _control3D;

Additional Information

See also:
ctrlCreate ctrlDelete ctrlSetModel ctrlPosition ctrlSetPosition ctrlClassName displayCtrl ctrlModelScale ctrlSetModelScale ctrlModelDirAndUp ctrlSetModelDirAndUp

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