예제 #1
0
 static public int get_grayscale(IntPtr l)
 {
     try {
         CC_AnalogTV self = (CC_AnalogTV)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.grayscale);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #2
0
 static public int get_cubicDistortion(IntPtr l)
 {
     try {
         CC_AnalogTV self = (CC_AnalogTV)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.cubicDistortion);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #3
0
 static public int get_scanlinesOffset(IntPtr l)
 {
     try {
         CC_AnalogTV self = (CC_AnalogTV)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.scanlinesOffset);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #4
0
 static public int get_noiseIntensity(IntPtr l)
 {
     try {
         CC_AnalogTV self = (CC_AnalogTV)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.noiseIntensity);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #5
0
 static public int set_grayscale(IntPtr l)
 {
     try {
         CC_AnalogTV    self = (CC_AnalogTV)checkSelf(l);
         System.Boolean v;
         checkType(l, 2, out v);
         self.grayscale = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #6
0
 static public int set_phase(IntPtr l)
 {
     try {
         CC_AnalogTV   self = (CC_AnalogTV)checkSelf(l);
         System.Single v;
         checkType(l, 2, out v);
         self.phase = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }