Method GenerateCubeCookie
GenerateCubeCookie(TextureImporterCompression, int)
Generated a Cube texture based on the internal PhotometricType
Declaration
public (string, Texture) GenerateCubeCookie(TextureImporterCompression compression, int textureSize)
Parameters
| Type | Name | Description |
|---|---|---|
| TextureImporterCompression | compression | Compression parameter requestted. |
| int | textureSize | The resquested size. |
Returns
| Type | Description |
|---|---|
| (string, Texture) | A Cubemap representing this IES |