ITextureCubemap
Overview
ITextureCubemap is a interface in Aspose.3D FOSS for .NET.
Inherits from: ITextureUnit, IDisposable.
Cube map texture
This interface provides 7 methods for working with ITextureCubemap objects in .NET programs.
Available methods include: Load, LoadFromFiles, Save, ToBitmap.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: Depth, Height, Magnification, Minification, Mipmap, Scale, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Type | TextureType | Read | Gets the type of this texture unit. |
Width | int | Read | Gets the width of this texture. |
Height | int | Read | Gets the height of this texture. |
Depth | int | Read | Gets the height of this texture, for none-3D texture it’s always 1. |
UWrap | WrapMode | Read/Write | Gets or sets the wrap mode for texture’s U coordinate. |
VWrap | WrapMode | Read/Write | Gets or sets the wrap mode for texture’s V coordinate. |
WWrap | WrapMode | Read/Write | Gets or sets the wrap mode for texture’s W coordinate. |
Minification | TextureFilter | Read/Write | Gets or sets the filter mode for minification. |
Magnification | TextureFilter | Read/Write | Gets or sets the filter mode for magnification. |
Mipmap | TextureFilter | Read/Write | Gets or sets the filter mode for mipmap. |
Scroll | Vector2 | Read/Write | Gets or sets the scroll of the UV coordinate. |
Scale | Vector2 | Read/Write | Gets or sets the scale of the UV coordinate. |
Methods
| Signature | Description |
|---|---|
Load(data: CubeFaceData<TextureData>) | Calls Load(data) on this ITextureCubemap instance. |
Load(face: CubeFace, data: TextureData) | Load the data into specified face |
LoadFromFiles(fileNames: CubeFaceData<string>) | Calls LoadFromFiles(fileNames) on this ITextureCubemap instance. |
Save(path: CubeFaceData<string>, format: string) | Calls Save(path, format) on this ITextureCubemap instance. |
Save(bitmap: CubeFaceData<TextureData>) | Calls Save(bitmap) on this ITextureCubemap instance. |
Save(side: CubeFace, bitmap: TextureData) | Save the specified side to memory |
ToBitmap(side: CubeFace) | Convert the texture unit to instance |