UnityEngine.Texture3D.GetPixels C# (CSharp) Method

GetPixels() private method

private GetPixels ( ) : Color[]
return Color[]
        public Color[] GetPixels()
        {
            int miplevel = 0;
            return this.GetPixels(miplevel);
        }

Same methods

Texture3D::GetPixels ( [ miplevel ) : Color[]

Usage Example

Beispiel #1
0
 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);
     }
 }
All Usage Examples Of UnityEngine.Texture3D::GetPixels