Beispiel #1
0
 public void Sanitize(ref otpPointParamValue v)
 {
     if (min.x != max.x)
     {
         v.x = Math.Max(Math.Min(v.x, max.x), min.x);
         v.y = Math.Max(Math.Min(v.y, max.y), min.y);
     }
 }
Beispiel #2
0
 [DllImport("OpenToonzPlugin")] public static extern void        otpSetParamValue(otpParam param, ref otpPointParamValue v);