Show / Hide Table of Contents

Class Cubemap

Inheritance
Object
Object
Texture
Cubemap
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 Cubemap : Texture

Constructors

| Improve this Doc View Source

Cubemap(Int32, GraphicsFormat, TextureCreationFlags)

Declaration
public Cubemap(int width, GraphicsFormat format, TextureCreationFlags flags)
Parameters
Type Name Description
Int32 width
GraphicsFormat format
TextureCreationFlags flags
| Improve this Doc View Source

Cubemap(Int32, TextureFormat, Boolean)

Declaration
public Cubemap(int width, TextureFormat textureFormat, bool mipChain)
Parameters
Type Name Description
Int32 width
TextureFormat textureFormat
Boolean mipChain

Properties

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

mipmapCount

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

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

CreateExternalTexture(Int32, TextureFormat, Boolean, IntPtr)

Declaration
public static Cubemap CreateExternalTexture(int width, TextureFormat format, bool mipmap, IntPtr nativeTex)
Parameters
Type Name Description
Int32 width
TextureFormat format
Boolean mipmap
IntPtr nativeTex
Returns
Type Description
Cubemap
| Improve this Doc View Source

GetPixel(CubemapFace, Int32, Int32)

Declaration
public Color GetPixel(CubemapFace face, int x, int y)
Parameters
Type Name Description
CubemapFace face
Int32 x
Int32 y
Returns
Type Description
Color
| Improve this Doc View Source

GetPixels(CubemapFace)

Declaration
public Color[] GetPixels(CubemapFace face)
Parameters
Type Name Description
CubemapFace face
Returns
Type Description
Color[]

GetPixels(CubemapFace, Int32)

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

SetPixel(CubemapFace, Int32, Int32, Color)

Declaration
public void SetPixel(CubemapFace face, int x, int y, Color color)
Parameters
Type Name Description
CubemapFace face
Int32 x
Int32 y
Color color
| Improve this Doc View Source

SetPixels(Color[], CubemapFace)

Declaration
public void SetPixels(Color[] colors, CubemapFace face)
Parameters
Type Name Description
Color[] colors
CubemapFace face

SetPixels(Color[], CubemapFace, Int32)

Declaration
public void SetPixels(Color[] colors, CubemapFace face, int miplevel)
Parameters
Type Name Description
Color[] colors
CubemapFace face
Int32 miplevel
| Improve this Doc View Source

SmoothEdges()

Declaration
public void SmoothEdges()

SmoothEdges(Int32)

Declaration
public void SmoothEdges([DefaultValue("1")] int smoothRegionWidthInPixels)
Parameters
Type Name Description
Int32 smoothRegionWidthInPixels

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