Jump to content

Tools.DrawNumberedCircles

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: tools.DrawNumberedCircles
Function Description: Draws numbered circles at specified positions using marker IDs, with each circle having a red semi-transparent color and a centered number indicating its index in the input table.
File Location: cmm.tools.lua
Syntax: CMM.tools.DrawNumberedCircles( table vec3Table )
Return Value: nil
Parameters: Name Description
vec3TableTable of vec3 positions where circles should be drawn. Each entry is a position vector.
Example: CMM.tools.DrawNumberedCircles({vec3(100, 200, 0), vec3(300, 400, 0)})
Example Description: Draws two circles at specified positions, each labeled with a number indicating its sequence in the input list.
Related Functions:
Notes: