DrawInsertion
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | DrawInsertion | |
| Function Description: | Draws a circular insertion zone marker at the given world position. | |
| File Location: | cmm.drawFunctions.lua | |
| Syntax: | CMM.DrawInsertion( table vec3 , number size , table colourFill ) | |
| Return Value: | table | |
| Parameters: | Name | Description |
| vec3 | Position vector (x, y, z) where the insertion zone should be placed. | |
| size | Radius of the insertion circle in meters (default 150 m). | |
| colourFill | RGBA colour table for the marker’s fill (default {1,1,1,0.8}). | |
| Example: | CMM.DrawInsertion({x = -21354.950080436 , y = 110.27038920094 , z = -259506.87699632},100,{0.87 , 0.41 , 0.05 , 0.75}) | |
| Example Description: | Draws a 100 m radius insertion zone at the specified coordinates with an orange‑ish fill. | |
| Related Functions: | ||
| Notes: | ||