C# Class UnityEngine.Cubemap

Class for handling cube maps, Use this to create or modify existing.

Inheritance: Texture
ファイルを表示 Open project: randomize/VimConfig Class Usage Examples

Public Methods

Method Description
Apply ( bool updateMipmaps, bool makeNoLongerReadable ) : void
Cubemap ( int size, TextureFormat format, bool mipmap )
Cubemap ( int size, TextureFormat format, bool mipmap ) : System
GetPixels ( CubemapFace face, int miplevel ) : UnityEngine.Color[]
SetPixel ( CubemapFace face, int x, int y, Color color ) : void
SetPixels ( Color colors, CubemapFace face, int miplevel ) : void
SmoothEdges ( int smoothRegionWidthInPixels ) : void

Private Methods

Method Description
Apply ( ) : void
Apply ( [ updateMipmaps, [ makeNoLongerReadable ) : void
Apply ( bool updateMipmaps ) : void
GetPixel ( CubemapFace face, int x, int y ) : Color
GetPixels ( CubemapFace face ) : UnityEngine.Color[]
GetPixels ( CubemapFace face, [ miplevel ) : UnityEngine.Color[]
INTERNAL_CALL_SetPixel ( Cubemap self, CubemapFace face, int x, int y, Color &color ) : void
Internal_Create ( Cubemap mono, int size, TextureFormat format, bool mipmap ) : void
Internal_Create ( [ mono, int size, TextureFormat format, bool mipmap ) : void
SetPixels ( Color colors, CubemapFace face ) : void
SetPixels ( Color colors, CubemapFace face, [ miplevel ) : void
SmoothEdges ( ) : void
SmoothEdges ( [ smoothRegionWidthInPixels ) : void

Method Details

Apply() public method

public Apply ( bool updateMipmaps, bool makeNoLongerReadable ) : void
updateMipmaps bool
makeNoLongerReadable bool
return void

Cubemap() public method

public Cubemap ( int size, TextureFormat format, bool mipmap )
size int
format TextureFormat
mipmap bool

Cubemap() public method

public Cubemap ( int size, TextureFormat format, bool mipmap ) : System
size int
format TextureFormat
mipmap bool
return System

GetPixels() public method

public GetPixels ( CubemapFace face, int miplevel ) : UnityEngine.Color[]
face CubemapFace
miplevel int
return UnityEngine.Color[]

SetPixel() public method

public SetPixel ( CubemapFace face, int x, int y, Color color ) : void
face CubemapFace
x int
y int
color Color
return void

SetPixels() public method

public SetPixels ( Color colors, CubemapFace face, int miplevel ) : void
colors Color
face CubemapFace
miplevel int
return void

SmoothEdges() public method

public SmoothEdges ( int smoothRegionWidthInPixels ) : void
smoothRegionWidthInPixels int
return void