{"name":"ctrlModelDirAndUp","title":"ctrlModelDirAndUp","type":"command","url":"https://community.bistudio.com/wiki/ctrlModelDirAndUp","revid":365012,"updated":"2024-07-10T09:58:01Z","groups":["GUI Control - Object"],"status":"ok","games":{"arma3":"1.32"},"since":"arma3 1.32","arma3_since":"1.32","description":"Returns vectorDir and vectorUp of the model used in 3D-Dialogs. Returns [[],[]] if control is null.","syntaxes":[{"syntax":"ctrlModelDirAndUp control","params":[{"name":"control","type":"Control","description":"3D control","type_expr":"Control","text":"control : Control - 3D control"}],"returns":{"type":"Array of Vector3Ds","type_expr":"Array<Vector3D>","description":"format [vectorDir, vectorUp] or [[],[]]","text":"Array of Vector3Ds format [vectorDir, vectorUp] or [[],[]]"},"form":"unary","right":{"text":"control"}}],"examples":[{"code":["_vectorDirAndUp = ctrlModelDirAndUp _control3D;"]}],"see_also":["ctrlModelVectorSide","ctrlCreate","ctrlDelete","ctrlSetModelDirAndUp","ctrlModel","ctrlSetModel","ctrlSetModelScale","ctrlModelScale","ctrlPosition","ctrlSetPosition","ctrlClassName","displayCtrl"]}