ITexture1D

Overview

ITexture1D is a interface in Aspose.3D FOSS for .NET. Inherits from: ITextureUnit, IDisposable.

1D texture

This interface provides 4 methods for working with ITexture1D objects in .NET programs. Available methods include: Load, 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(bitmap: TextureData)Load texture content from specified Bitmap
Save(path: string, format: string)Save the texture content to external file.
Save(bitmap: TextureData)Save the texture content to external file.
ToBitmap()Convert the texture unit to instance

See Also

 English