Class CubemapArray
Assembly: UnityEngine.dll
Syntax
public sealed class CubemapArray : Texture
Constructors
|
Improve this Doc
View Source
CubemapArray(Int32, Int32, GraphicsFormat, TextureCreationFlags)
Declaration
public CubemapArray(int width, int cubemapCount, GraphicsFormat format, TextureCreationFlags flags)
Parameters
|
Improve this Doc
View Source
CubemapArray(Int32, Int32, TextureFormat, Boolean)
Declaration
public CubemapArray(int width, int cubemapCount, TextureFormat textureFormat, bool mipChain)
Parameters
|
Improve this Doc
View Source
CubemapArray(Int32, Int32, TextureFormat, Boolean, Boolean)
Declaration
public CubemapArray(int width, int cubemapCount, TextureFormat textureFormat, bool mipChain, [DefaultValue("false")] bool linear)
Parameters
Properties
cubemapCount
Declaration
public int cubemapCount { get; }
Property Value
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(CubemapFace, Int32)
Declaration
public Color[] GetPixels(CubemapFace face, int arrayElement)
Parameters
Returns
GetPixels(CubemapFace, Int32, Int32)
Declaration
public Color[] GetPixels(CubemapFace face, int arrayElement, int miplevel)
Parameters
Returns
|
Improve this Doc
View Source
GetPixels32(CubemapFace, Int32)
Declaration
public Color32[] GetPixels32(CubemapFace face, int arrayElement)
Parameters
Returns
GetPixels32(CubemapFace, Int32, Int32)
Declaration
public Color32[] GetPixels32(CubemapFace face, int arrayElement, int miplevel)
Parameters
Returns
|
Improve this Doc
View Source
SetPixels(Color[], CubemapFace, Int32)
Declaration
public void SetPixels(Color[] colors, CubemapFace face, int arrayElement)
Parameters
SetPixels(Color[], CubemapFace, Int32, Int32)
Declaration
public void SetPixels(Color[] colors, CubemapFace face, int arrayElement, int miplevel)
Parameters
|
Improve this Doc
View Source
SetPixels32(Color32[], CubemapFace, Int32)
Declaration
public void SetPixels32(Color32[] colors, CubemapFace face, int arrayElement)
Parameters
SetPixels32(Color32[], CubemapFace, Int32, Int32)
Declaration
public void SetPixels32(Color32[] colors, CubemapFace face, int arrayElement, int miplevel)
Parameters
Extension Methods