static public int GetPixels(IntPtr l)
{
try{
if (matchType(l, 2, typeof(System.Int32)))
{
UnityEngine.Texture3D self = (UnityEngine.Texture3D)checkSelf(l);
System.Int32 a1;
checkType(l, 2, out a1);
UnityEngine.Color[] ret = self.GetPixels(a1);
pushValue(l, ret);
return(1);
}
else if (matchType(l, 2))
{
UnityEngine.Texture3D self = (UnityEngine.Texture3D)checkSelf(l);
UnityEngine.Color[] ret = self.GetPixels();
pushValue(l, ret);
return(1);
}
LuaDLL.luaL_error(l, "No matched override function to call");
return(0);
}
catch (Exception e) {
LuaDLL.luaL_error(l, e.ToString());
return(0);
}
}