Cubemap
Texture
Cubemap

class:/TYPE/UnityEngine.Cubemap//, can be loaded from an assetbundle using Cubemap::createfromassetbundle(bundlename,prefabname) /

Parent

Texture

Variables
desiredmipmaplevel
readonly System.Int32 desiredmipmaplevel
format
readonly UnityEngine.TextureFormat format
isreadable
readonly System.Boolean isreadable
loadedmipmaplevel
readonly System.Int32 loadedmipmaplevel
loadingmipmaplevel
readonly System.Int32 loadingmipmaplevel
requestedmipmaplevel
System.Int32 requestedmipmaplevel
streamingmipmaps
readonly System.Boolean streamingmipmaps
streamingmipmapspriority
readonly System.Int32 streamingmipmapspriority
Functions
apply
System.Void Apply(
System.Boolean updateMipmaps,
System.Boolean makeNoLongerReadable
)

System.Boolean updateMipmaps-no documentation

Parameters
updateMipmaps
System.Boolean

no documentation makeNoLongerReadable -

Returns

System.Void

apply
System.Void Apply(
System.Boolean updateMipmaps
)

System.Boolean updateMipmaps-no documentation

Parameters

updateMipmaps -

Returns

System.Void

apply
System.Void Apply()
Returns

System.Void

clearrequestedmipmaplevel
System.Void ClearRequestedMipmapLevel()
Returns

System.Void

cubemap::​create
static UnityEngine.Cubemap Create (
System.Int32 width,
UnityEngine.Experimental.Rendering.DefaultFormat format,
UnityEngine.Experimental.Rendering.TextureCreationFlags flags
)

Constructor replaces new;

Parameters
width
System.Int32

no description

format
UnityEngine.Experimental.Rendering.DefaultFormat

no description

flags
UnityEngine.Experimental.Rendering.TextureCreationFlags

no description

Returns

UnityEngine.Cubemap

cubemap::​create
static UnityEngine.Cubemap Create (
System.Int32 width,
UnityEngine.TextureFormat textureFormat,
System.Boolean mipChain
)

Constructor replaces new;

Parameters
width
System.Int32

no description

textureFormat
UnityEngine.TextureFormat

no description

mipChain
System.Boolean

no description

Returns

UnityEngine.Cubemap

cubemap::​create
static UnityEngine.Cubemap Create (
System.Int32 width,
UnityEngine.Experimental.Rendering.GraphicsFormat format,
UnityEngine.Experimental.Rendering.TextureCreationFlags flags,
System.Int32 mipCount
)

Constructor replaces new;

Parameters
width
System.Int32

no description

format
UnityEngine.Experimental.Rendering.GraphicsFormat

no description

flags
UnityEngine.Experimental.Rendering.TextureCreationFlags

no description

mipCount
System.Int32

no description

Returns

UnityEngine.Cubemap

cubemap::​create
static UnityEngine.Cubemap Create (
System.Int32 width,
UnityEngine.TextureFormat format,
System.Int32 mipCount
)

Constructor replaces new;

Parameters
width
System.Int32

no description

format
UnityEngine.TextureFormat

no description

mipCount
System.Int32

no description

Returns

UnityEngine.Cubemap

cubemap::​createexternaltexture
static UnityEngine.Cubemap CreateExternalTexture(
System.Int32 width,
UnityEngine.TextureFormat format,
System.Boolean mipmap,
System.IntPtr nativeTex
)

System.Int32 width-no documentation

Parameters
width
System.Int32

no documentation

format
UnityEngine.TextureFormat

no documentation

mipmap
System.Boolean

no documentation nativeTex -

Returns

UnityEngine.Cubemap

cubemap::​fromassetbundle
static UnityEngine.Cubemap CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.Cubemap

getpixel
UnityEngine.Color GetPixel(
UnityEngine.CubemapFace face,
System.Int32 x,
System.Int32 y
)

UnityEngine.CubemapFace face-no documentation

Parameters
face
UnityEngine.CubemapFace

no documentation

x
System.Int32

no documentation y -

Returns

UnityEngine.Color

getpixel
UnityEngine.Color GetPixel(
UnityEngine.CubemapFace face,
System.Int32 x,
System.Int32 y,
System.Int32 mip
)

UnityEngine.CubemapFace face-no documentation

Parameters
face
UnityEngine.CubemapFace

no documentation

x
System.Int32

no documentation

y
System.Int32

no documentation mip -

Returns

UnityEngine.Color

getpixels
UnityEngine.Color[] GetPixels(
UnityEngine.CubemapFace face,
System.Int32 miplevel
)

UnityEngine.CubemapFace face-no documentation

Parameters
face
UnityEngine.CubemapFace

no documentation miplevel -

Returns

UnityEngine.Color[]

getpixels
UnityEngine.Color[] GetPixels(
UnityEngine.CubemapFace face
)

UnityEngine.CubemapFace face-no documentation

Parameters

face -

Returns

UnityEngine.Color[]

isrequestedmipmaplevelloaded
System.Boolean IsRequestedMipmapLevelLoaded()
Returns

System.Boolean

setpixel
System.Void SetPixel(
UnityEngine.CubemapFace face,
System.Int32 x,
System.Int32 y,
UnityEngine.Color color
)

UnityEngine.CubemapFace face-no documentation

Parameters
face
UnityEngine.CubemapFace

no documentation

x
System.Int32

no documentation

y
System.Int32

no documentation color -

Returns

System.Void

setpixel
System.Void SetPixel(
UnityEngine.CubemapFace face,
System.Int32 x,
System.Int32 y,
UnityEngine.Color color,
System.Int32 mip
)

UnityEngine.CubemapFace face-no documentation

Parameters
face
UnityEngine.CubemapFace

no documentation

x
System.Int32

no documentation

y
System.Int32

no documentation

color
UnityEngine.Color

no documentation mip -

Returns

System.Void

setpixels
System.Void SetPixels(
UnityEngine.Color[] colors,
UnityEngine.CubemapFace face
)

UnityEngine.Color[] colors-no documentation

Parameters
colors
UnityEngine.Color[]

no documentation face -

Returns

System.Void

setpixels
System.Void SetPixels(
UnityEngine.Color[] colors,
UnityEngine.CubemapFace face,
System.Int32 miplevel
)

UnityEngine.Color[] colors-no documentation

Parameters
colors
UnityEngine.Color[]

no documentation

face
UnityEngine.CubemapFace

no documentation miplevel -

Returns

System.Void

smoothedges
System.Void SmoothEdges(
System.Int32 smoothRegionWidthInPixels
)

System.Int32 smoothRegionWidthInPixels-no documentation

Parameters

smoothRegionWidthInPixels -

Returns

System.Void

smoothedges
System.Void SmoothEdges()
Returns

System.Void

updateexternaltexture
System.Void UpdateExternalTexture(
System.IntPtr nativeTexture
)

System.IntPtr nativeTexture-no documentation

Parameters

nativeTexture -

Returns

System.Void