Class Texture3D
Assembly: UnityEngine.dll
Syntax
public sealed class Texture3D : Texture
Constructors
|
Improve this Doc
View Source
Texture3D(Int32, Int32, Int32, GraphicsFormat, TextureCreationFlags)
Declaration
public Texture3D(int width, int height, int depth, GraphicsFormat format, TextureCreationFlags flags)
Parameters
|
Improve this Doc
View Source
Texture3D(Int32, Int32, Int32, TextureFormat, Boolean)
Declaration
public Texture3D(int width, int height, int depth, TextureFormat textureFormat, bool mipChain)
Parameters
Properties
depth
Declaration
public int depth { get; }
Property Value
format
Declaration
public TextureFormat format { get; }
Property Value
isReadable
Declaration
public override bool isReadable { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
Apply()
Declaration
|
Improve this Doc
View Source
Apply(Boolean)
Declaration
public void Apply(bool updateMipmaps)
Parameters
Type |
Name |
Description |
Boolean |
updateMipmaps |
|
|
Improve this Doc
View Source
Apply(Boolean, Boolean)
Declaration
public void Apply([DefaultValue("true")] bool updateMipmaps, [DefaultValue("false")] bool makeNoLongerReadable)
Parameters
Type |
Name |
Description |
Boolean |
updateMipmaps |
|
Boolean |
makeNoLongerReadable |
|
|
Improve this Doc
View Source
GetPixels()
Declaration
public Color[] GetPixels()
Returns
GetPixels(Int32)
Declaration
public Color[] GetPixels(int miplevel)
Parameters
Type |
Name |
Description |
Int32 |
miplevel |
|
Returns
|
Improve this Doc
View Source
GetPixels32()
Declaration
public Color32[] GetPixels32()
Returns
GetPixels32(Int32)
Declaration
public Color32[] GetPixels32(int miplevel)
Parameters
Type |
Name |
Description |
Int32 |
miplevel |
|
Returns
|
Improve this Doc
View Source
SetPixels(Color[])
Declaration
public void SetPixels(Color[] colors)
Parameters
Type |
Name |
Description |
Color[] |
colors |
|
SetPixels(Color[], Int32)
Declaration
public void SetPixels(Color[] colors, int miplevel)
Parameters
Type |
Name |
Description |
Color[] |
colors |
|
Int32 |
miplevel |
|
|
Improve this Doc
View Source
SetPixels32(Color32[])
Declaration
public void SetPixels32(Color32[] colors)
Parameters
Type |
Name |
Description |
Color32[] |
colors |
|
SetPixels32(Color32[], Int32)
Declaration
public void SetPixels32(Color32[] colors, int miplevel)
Parameters
Extension Methods