ITextureCubemap

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

NameTypeAccessDescription
TypeTextureTypeReadGets the type of this texture unit.
WidthintReadGets the width of this texture.
HeightintReadGets the height of this texture.
DepthintReadGets the height of this texture, for none-3D texture it’s always 1.
UWrapWrapModeRead/WriteGets or sets the wrap mode for texture’s U coordinate.
VWrapWrapModeRead/WriteGets or sets the wrap mode for texture’s V coordinate.
WWrapWrapModeRead/WriteGets or sets the wrap mode for texture’s W coordinate.
MinificationTextureFilterRead/WriteGets or sets the filter mode for minification.
MagnificationTextureFilterRead/WriteGets or sets the filter mode for magnification.
MipmapTextureFilterRead/WriteGets or sets the filter mode for mipmap.
ScrollVector2Read/WriteGets or sets the scroll of the UV coordinate.
ScaleVector2Read/WriteGets or sets the scale of the UV coordinate.

Methods

SignatureDescription
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

See Also

 English