Class ImageExportBase
Wrapper to export a glTF image from one or more Unity textures
Inherited Members
Namespace: GLTFast.Export
Assembly: solution.dll
Syntax
public abstract class ImageExportBase
Properties
| Name | Description |
|---|---|
| FileName | Exported texture's file name |
| FilterMode | Source texture's filter mode |
| MimeType | Exported texture's mime type |
| WrapModeU | Source texture's wrap mode (U direction) |
| WrapModeV | Source texture's wrap mode (V direction) |
Methods
| Name | Description |
|---|---|
| EncodeTexture(Texture2D, ImageFormat, bool, Material) | Encodes the export texture |
| GetData() | Returns the exported and encoded texture data |
| Write(string, bool) | Writes image file |