drawLinesGLLines() public method

public drawLinesGLLines ( Material outlineMaterial, Color color, float width ) : void
outlineMaterial Material
color Color
width float
return void
Exemplo n.º 1
0
 static int drawLinesGLLines(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         LTSpline             obj  = (LTSpline)ToLua.CheckObject(L, 1, typeof(LTSpline));
         UnityEngine.Material arg0 = (UnityEngine.Material)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.Material));
         UnityEngine.Color    arg1 = ToLua.ToColor(L, 3);
         float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
         obj.drawLinesGLLines(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Exemplo n.º 2
0
 static public int drawLinesGLLines(IntPtr l)
 {
     try {
         LTSpline             self = (LTSpline)checkSelf(l);
         UnityEngine.Material a1;
         checkType(l, 2, out a1);
         UnityEngine.Color a2;
         checkType(l, 3, out a2);
         System.Single a3;
         checkType(l, 4, out a3);
         self.drawLinesGLLines(a1, a2, a3);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 3
0
 static public int drawLinesGLLines(IntPtr l)
 {
     try {
                     #if DEBUG
         var    method     = System.Reflection.MethodBase.GetCurrentMethod();
         string methodName = GetMethodName(method);
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.BeginSample(methodName);
                     #else
         Profiler.BeginSample(methodName);
                     #endif
                     #endif
         LTSpline             self = (LTSpline)checkSelf(l);
         UnityEngine.Material a1;
         checkType(l, 2, out a1);
         UnityEngine.Color a2;
         checkType(l, 3, out a2);
         System.Single a3;
         checkType(l, 4, out a3);
         self.drawLinesGLLines(a1, a2, a3);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
             #if DEBUG
     finally {
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.EndSample();
                     #else
         Profiler.EndSample();
                     #endif
     }
             #endif
 }