ctrlSetModelDirAndUp: Difference between revisions
BrettMayson (talk | contribs) mNo edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 12: | Line 12: | ||
|p1= control : [[Control]] - 3D control | |p1= control : [[Control]] - 3D control | ||
|p2= dirAndUp: [[Array]] with [[ | |p2= dirAndUp: [[Array]] with [vectorDir, vectorUp] | ||
* vectorDir: [[Vector3D]] - see [[vectorDir]] | |||
* vectorUp: [[Vector3D]] - see [[vectorUp]] | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Latest revision as of 18:42, 3 April 2026
Description
- Description:
- Sets orientation of 3D control model. It is similar to setVectorDirAndUp command for an object.
- Groups:
- GUI Control - Object
Syntax
- Syntax:
- control ctrlSetModelDirAndUp dirAndUp
- Parameters:
- control : Control - 3D control
- dirAndUp: Array with [vectorDir, vectorUp]
- Return Value:
- Nothing
Examples
- Example 1:
- _ctrl3D ctrlSetModelDirAndUp [[0,1,0],[0,0,1]]; //default orientation
Additional Information
- See also:
- ctrlModelDirAndUp ctrlCreate ctrlDelete ctrlModel ctrlSetModel ctrlModelScale ctrlSetModelScale ctrlPosition ctrlSetPosition ctrlClassName vectorDir vectorUp setVectorDirAndUp ctrlModelVectorSide
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note