Texture

Overview

Texture is a class in Aspose.3D FOSS for Python.

This class defines the texture from an external file.

This class declares 4 methods for Texture objects in Python programs. Available methods include: __init__, set_rotation, set_scale, set_translation. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package. Properties: alpha, alpha_source, content, enable_mip_map, file_name, mag_filter, and 9 more.

Properties

NameTypeAccessDescription
namestrRead/WriteGets or sets the name.
alphafloatRead/WriteGets or sets the alpha.
alpha_source'AlphaSource'Read/WriteGets or sets the alpha source.
wrap_mode_u'WrapMode'Read/WriteGets or sets the wrap mode u.
wrap_mode_v'WrapMode'Read/WriteGets or sets the wrap mode v.
wrap_mode_w'WrapMode'Read/WriteGets or sets the wrap mode w.
min_filter'TextureFilter'Read/WriteGets or sets the min filter.
mag_filter'TextureFilter'Read/WriteGets or sets the mag filter.
mip_filter'TextureFilter'Read/WriteGets or sets the mip filter.
uv_rotation``Read/WriteGets or sets the uv rotation.
uv_scale``Read/WriteGets or sets the uv scale.
uv_translation``Read/WriteGets or sets the uv translation.
enable_mip_mapboolRead/WriteGets or sets the enable mip map.
contentList[int]Read/WriteGets or sets the content.
file_namestrRead/WriteGets or sets the file name.

Methods

SignatureDescription
__init__()Not implemented in the FOSS edition — throws at runtime. Calls init on this Texture instance.
set_translation(u: float, v: float)Not implemented in the FOSS edition — throws at runtime. Sets the translation value.
set_scale(u: float, v: float)Not implemented in the FOSS edition — throws at runtime. Sets the scale value.
set_rotation(u: float, v: float)Not implemented in the FOSS edition — throws at runtime. Sets the rotation value.

See Also