Show / Hide Table of Contents

Class Texture3D

Inheritance
Object
Object
Texture
Texture3D
Inherited Members
Texture.masterTextureLimit
Texture.anisotropicFiltering
Texture.SetGlobalAnisotropicFilteringLimits(Int32, Int32)
Texture.width
Texture.height
Texture.dimension
Texture.wrapMode
Texture.wrapModeU
Texture.wrapModeV
Texture.wrapModeW
Texture.filterMode
Texture.anisoLevel
Texture.mipMapBias
Texture.texelSize
Texture.GetNativeTexturePtr()
Texture.GetNativeTextureID()
Texture.updateCount
Texture.IncrementUpdateCount()
Texture.imageContentsHash
Texture.totalTextureMemory
Texture.desiredTextureMemory
Texture.targetTextureMemory
Texture.currentTextureMemory
Texture.nonStreamingTextureMemory
Texture.streamingMipmapUploadCount
Texture.streamingRendererCount
Texture.streamingTextureCount
Texture.nonStreamingTextureCount
Texture.streamingTexturePendingLoadCount
Texture.streamingTextureLoadingCount
Texture.SetStreamingTextureMaterialDebugProperties()
Texture.streamingTextureForceLoadAll
Texture.streamingTextureDiscardUnusedMips
Object.GetInstanceID()
Object.GetHashCode()
Object.Equals(Object)
Object.name
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate(Object, Transform, Boolean)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Instantiate<T>(T, Transform, Boolean)
Object.Destroy(Object, Single)
Object.Destroy(Object)
Object.DestroyImmediate(Object, Boolean)
Object.DestroyImmediate(Object)
Object.FindObjectsOfType(Type)
Object.DontDestroyOnLoad(Object)
Object.hideFlags
Object.DestroyObject(Object, Single)
Object.DestroyObject(Object)
Object.FindSceneObjectsOfType(Type)
Object.FindObjectsOfTypeIncludingAssets(Type)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.FindObjectsOfTypeAll(Type)
Object.FindObjectOfType(Type)
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
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
Type Name Description
Int32 width
Int32 height
Int32 depth
GraphicsFormat format
TextureCreationFlags flags
| 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
Type Name Description
Int32 width
Int32 height
Int32 depth
TextureFormat textureFormat
Boolean mipChain

Properties

depth

Declaration
public int depth { get; }
Property Value
Type Description
Int32

format

Declaration
public TextureFormat format { get; }
Property Value
Type Description
TextureFormat

isReadable

Declaration
public override bool isReadable { get; }
Property Value
Type Description
Boolean
Overrides
Texture.isReadable

Methods

| Improve this Doc View Source

Apply()

Declaration
public void Apply()
| 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
Type Description
Color[]

GetPixels(Int32)

Declaration
public Color[] GetPixels(int miplevel)
Parameters
Type Name Description
Int32 miplevel
Returns
Type Description
Color[]
| Improve this Doc View Source

GetPixels32()

Declaration
public Color32[] GetPixels32()
Returns
Type Description
Color32[]

GetPixels32(Int32)

Declaration
public Color32[] GetPixels32(int miplevel)
Parameters
Type Name Description
Int32 miplevel
Returns
Type Description
Color32[]
| 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
Type Name Description
Color32[] colors
Int32 miplevel

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX