---
Product: Aspose.3D
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/java/TextureBase
---

# TextureBase

## Overview

`TextureBase` is a class in Aspose.3D FOSS for Java.
Inherits from: `A3DObject`.

Base class for all concrete textures.

This class provides 34 methods for working with TextureBase objects in Java programs.
Available methods include: `A3DObject`, `TextureBase`, `findProperty`, `getAlpha`, `getAlphaSource`, `getMagFilter`, `getMinFilter`, `getMipFilter`, `getName`, `getProperties`, `getProperty`, `getUVRotation`, and 22 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: `alpha`, `alphaSource`, `magFilter`, `minFilter`, `mipFilter`, `name`, and 7 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `alpha` | `double` | Read | Gets or sets the default alpha value of the texture. |
| `alphaSource` | `AlphaSource` | Read | Gets or sets whether the texture defines the alpha channel. |
| `wrapModeU` | `WrapMode` | Read | Gets or sets the texture wrap modes in U. |
| `wrapModeV` | `WrapMode` | Read | Gets or sets the texture wrap modes in V. |
| `wrapModeW` | `WrapMode` | Read | Gets or sets the texture wrap modes in W. |
| `minFilter` | `TextureFilter` | Read | Gets or sets the filter for minification. |
| `magFilter` | `TextureFilter` | Read | Gets or sets the filter for magnification. |
| `mipFilter` | `TextureFilter` | Read | Gets or sets the filter for mip-level sampling. |
| `uVRotation` | `Vector3` | Read | Gets or sets the rotation of the texture. |
| `uVScale` | `Vector2` | Read | Gets or sets the UV scale. |
| `uVTranslation` | `Vector2` | Read | Gets or sets the UV translation. |
| `name` | `String` | Read | Gets the name. |
| `properties` | `PropertyCollection` | Read | Gets the properties. |

## Methods

| Signature | Description |
|-----------|-------------|
| `TextureBase(name: String)` | Initializes a new instance of the TextureBase class. |
| `getAlpha()` → `double` | Gets or sets the default alpha value of the texture. |
| `setAlpha(alpha: double)` | Gets or sets the binary content of the texture. The embedded texture content is optional, user should load texture from external file if this is missing. |
| `getAlphaSource()` → `AlphaSource` | Gets or sets whether the texture defines the alpha channel. |
| `setAlphaSource(alphaSource: AlphaSource)` | Sets the alpha source value. |
| `getWrapModeU()` → `WrapMode` | Gets or sets the texture wrap modes in U. |
| `setWrapModeU(wrapModeU: WrapMode)` | Sets the wrap mode u value. |
| `getWrapModeV()` → `WrapMode` | Gets or sets the texture wrap modes in V. |
| `setWrapModeV(wrapModeV: WrapMode)` | Sets the wrap mode v value. |
| `getWrapModeW()` → `WrapMode` | Gets or sets the texture wrap modes in W. |
| `setWrapModeW(wrapModeW: WrapMode)` | Sets the wrap mode w value. |
| `getMinFilter()` → `TextureFilter` | Gets or sets the filter for minification. |
| `setMinFilter(minFilter: TextureFilter)` | Sets the min filter value. |
| `getMagFilter()` → `TextureFilter` | Gets or sets the filter for magnification. |
| `setMagFilter(magFilter: TextureFilter)` | Sets the mag filter value. |
| `getMipFilter()` → `TextureFilter` | Gets or sets the filter for mip-level sampling. |
| `setMipFilter(mipFilter: TextureFilter)` | Sets the mip filter value. |
| `getUVRotation()` → `Vector3` | Gets or sets the rotation of the texture. |
| `setUVRotation(uvRotation: Vector3)` | Sets the uv rotation value. |
| `getUVScale()` → `Vector2` | Gets or sets the UV scale. |
| `setUVScale(uvScale: Vector2)` | Sets the uv scale value. |
| `getUVTranslation()` → `Vector2` | Gets or sets the UV translation. |
| `setUVTranslation(uvTranslation: Vector2)` | Sets the uv translation value. |
| `setTranslation(u: double, v: double)` | Sets the UV translation. |
| `setScale(u: double, v: double)` | Sets the UV scale. |
| `setRotation(u: double, v: double)` | Sets the UV rotation. |
| `A3DObject()` | Parameterized Cylinder. It can also be used to represent a cone when one of radiusTop/radiusBottom is zero. |
| `getName()` → `String` | The segments of the curve. |
| `setName(name: String)` | Constructs a CircleShape profile with specified radius. |
| `getProperties()` → `PropertyCollection` | Initializes a new instance of Cylinder class. |
| `findProperty(name: String)` → `Property` | Initializes a new instance of the Bone class. |
| `getProperty(name: String)` → `Object` | Gets the transform matrix of the node in current pose. |
| `setProperty(name: String, value: Object)` | Gets the width segments. |
| `removeProperty(name: String)` → `boolean` | Gets flip coordinate system of control points/normal during importing/exporting. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)