setAlpha() public method

public setAlpha ( float alpha ) : LTRect,
alpha float
return LTRect,
Exemplo n.º 1
0
 static public int setAlpha(IntPtr l)
 {
     try {
         LTRect        self = (LTRect)checkSelf(l);
         System.Single a1;
         checkType(l, 2, out a1);
         var ret = self.setAlpha(a1);
         pushValue(l, ret);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Exemplo n.º 2
0
 static public int setAlpha(IntPtr l)
 {
     try {
         LTRect        self = (LTRect)checkSelf(l);
         System.Single a1;
         checkType(l, 2, out a1);
         var ret = self.setAlpha(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }