TextureBase class
TextureBase class
Base class for all concrete textures. Texture defines the look and feel of a geometry surface.
Inheritance: TextureBase
→
A3DObject
The TextureBase type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Initializes a new instance of the TextureBase class. |
Properties
Property | Description |
---|---|
name | Gets or sets the name. |
properties | Gets the collection of all properties. |
alpha | Gets or sets the default alpha value of the texture This is valid when the TextureBase.alpha_source is AlphaSource.PIXEL_ALPHA Default value is 1.0, valid value range is between 0 and 1 |
alpha_source | Gets or sets whether the texture defines the alpha channel. Default value is AlphaSource.NONE |
wrap_mode_u | Gets or sets the texture wrap modes in U. |
wrap_mode_v | Gets or sets the texture wrap modes in V. |
wrap_mode_w | Gets or sets the texture wrap modes in W. |
min_filter | Gets or sets the filter for minification. |
mag_filter | Gets or sets the filter for magnification. |
mip_filter | Gets or sets the filter for mip-level sampling. |
uv_rotation | Gets or sets the rotation of the texture |
uv_scale | Gets or sets the UV scale. |
uv_translation | Gets or sets the UV translation. |
Methods
Method | Description |
---|---|
remove_property | Removes a dynamic property. |
remove_property | Remove the specified property identified by name |
get_property | Get the value of specified property |
set_property | Sets the value of specified property |
find_property | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |
set_translation | Sets the UV translation. |
set_scale | Sets the UV scale. |
set_rotation | Sets the UV rotation. |
See Also
- module
aspose.threed.shading
- class
A3DObject
- class
TextureBase