UnityEngine.Texture3D.SetPixels32 C# (CSharp) Method

SetPixels32() private method

private SetPixels32 ( Color32 colors ) : void
colors Color32
return void
        public void SetPixels32(Color32[] colors)
        {
            int miplevel = 0;
            this.SetPixels32(colors, miplevel);
        }

Same methods

Texture3D::SetPixels32 ( Color32 colors, [ miplevel ) : void

Usage Example

 static public int SetPixels32(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (argc == 2)
         {
             UnityEngine.Texture3D self = (UnityEngine.Texture3D)checkSelf(l);
             UnityEngine.Color32[] a1;
             checkArray(l, 2, out a1);
             self.SetPixels32(a1);
             pushValue(l, true);
             return(1);
         }
         else if (argc == 3)
         {
             UnityEngine.Texture3D self = (UnityEngine.Texture3D)checkSelf(l);
             UnityEngine.Color32[] a1;
             checkArray(l, 2, out a1);
             System.Int32 a2;
             checkType(l, 3, out a2);
             self.SetPixels32(a1, a2);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of UnityEngine.Texture3D::SetPixels32