Ejemplo n.º 1
0
 public static void DrawColouredArrow(Vector3 position, value.RGBColor clr)
 {
     Function.Call("DRAW_COLOURED_CYLINDER", new Parameter[]
     {
         position.X,
         position.Y,
         position.Z,
         -2,
         0.8,
         clr.R,
         clr.G,
         clr.B,
         0
     });
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Draws a checkpoint at the specified coordinates, with the specified radius,
 /// with the specified color (RGB). Must be used in a thread (cycle)!!
 /// </summary>
 /// <param name="position">The position of checkpoint needed to be draw.</param>
 /// <param name="radius">The radius of the checkpoint.</param>
 /// <param name="R">The color value of Red, in RGB color.</param>
 /// <param name="G">The color value of Green, in RGB color.</param>
 /// <param name="B">The color value of Blue, in RGB color.</param>
 public static void DrawCheckpoint(Vector3 position, float radius, value.RGBColor clr)
 {
     Function.Call("DRAW_CHECKPOINT", new Parameter[] {
         position.X, position.Y, position.Z, radius, clr.R, clr.G, clr.B
     });
 }