C# Class UnityEngine.Texture3D

Class for handling 3D Textures, Use this to create.

Inheritance: Texture
Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Texture3D ( int width, int height, int depth, TextureFormat format, bool mipmap ) : System

Create a new empty 3D Texture.

Private Methods

Method Description
Apply ( ) : void
Apply ( [ updateMipmaps, [ makeNoLongerReadable ) : void
Apply ( bool updateMipmaps ) : void
GetPixels ( ) : Color[]
GetPixels ( [ miplevel ) : Color[]
GetPixels32 ( ) : UnityEngine.Color32[]
GetPixels32 ( [ miplevel ) : UnityEngine.Color32[]
Internal_Create ( [ mono, int width, int height, int depth, TextureFormat format, bool mipmap ) : void
SetPixels ( Color colors ) : void
SetPixels ( Color colors, [ miplevel ) : void
SetPixels32 ( Color32 colors ) : void
SetPixels32 ( Color32 colors, [ miplevel ) : void

Method Details

Texture3D() public method

Create a new empty 3D Texture.

public Texture3D ( int width, int height, int depth, TextureFormat format, bool mipmap ) : System
width int Width of texture in pixels.
height int Height of texture in pixels.
depth int Depth of texture in pixels.
format TextureFormat Texture data format.
mipmap bool Should the texture have mipmaps?
return System