C# Class UnityEngine.Cubemap

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

Inheritance: Texture
Afficher le fichier Open project: randomize/VimConfig Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Apply ( bool updateMipmaps, bool makeNoLongerReadable ) : void
updateMipmaps bool
makeNoLongerReadable bool
Résultat void

Cubemap() public méthode

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

Cubemap() public méthode

public Cubemap ( int size, TextureFormat format, bool mipmap ) : System
size int
format TextureFormat
mipmap bool
Résultat System

GetPixels() public méthode

public GetPixels ( CubemapFace face, int miplevel ) : UnityEngine.Color[]
face CubemapFace
miplevel int
Résultat UnityEngine.Color[]

SetPixel() public méthode

public SetPixel ( CubemapFace face, int x, int y, Color color ) : void
face CubemapFace
x int
y int
color Color
Résultat void

SetPixels() public méthode

public SetPixels ( Color colors, CubemapFace face, int miplevel ) : void
colors Color
face CubemapFace
miplevel int
Résultat void

SmoothEdges() public méthode

public SmoothEdges ( int smoothRegionWidthInPixels ) : void
smoothRegionWidthInPixels int
Résultat void