UnityEngine.ProceduralTexture.GetPixels32 C# (CSharp) Method

GetPixels32() private method

private GetPixels32 ( int x, int y, int blockWidth, int blockHeight ) : UnityEngine.Color32[]
x int
y int
blockWidth int
blockHeight int
return UnityEngine.Color32[]
        public extern Color32[] GetPixels32(int x, int y, int blockWidth, int blockHeight);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

コード例 #1
0
 static public int GetPixels32(IntPtr l)
 {
     try {
         UnityEngine.ProceduralTexture self = (UnityEngine.ProceduralTexture)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         System.Int32 a2;
         checkType(l, 3, out a2);
         System.Int32 a3;
         checkType(l, 4, out a3);
         System.Int32 a4;
         checkType(l, 5, out a4);
         var ret = self.GetPixels32(a1, a2, a3, a4);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of UnityEngine.ProceduralTexture::GetPixels32