static public int constructor(IntPtr l) { try { ScriptRuntime.Ray o; ScriptRuntime.Vector3 a1; checkValueType(l, 2, out a1); ScriptRuntime.Vector3 a2; checkValueType(l, 3, out a2); o = new ScriptRuntime.Ray(a1, a2); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }