TextureBase

Overview

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

Base class for all concrete textures.

This class provides 36 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

NameTypeAccessDescription
alphadoubleRead/WriteGets or sets the default alpha value of the texture.
alphaSourceAlphaSourceRead/WriteGets or sets whether the texture defines the alpha channel.
wrapModeUWrapModeRead/WriteGets or sets the texture wrap modes in U.
wrapModeVWrapModeRead/WriteGets or sets the texture wrap modes in V.
wrapModeWWrapModeRead/WriteGets or sets the texture wrap modes in W.
minFilterTextureFilterRead/WriteGets or sets the filter for minification.
magFilterTextureFilterRead/WriteGets or sets the filter for magnification.
mipFilterTextureFilterRead/WriteGets or sets the filter for mip-level sampling.
uVRotationVector3Read/WriteGets or sets the rotation of the texture.
uVScaleVector2Read/WriteGets or sets the UV scale.
uVTranslationVector2Read/WriteGets or sets the UV translation.
nameStringRead/WriteGets or sets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
TextureBase(name: String)Initializes a new instance of the TextureBase class.
getAlpha() → doubleGets or sets the default alpha value of the texture.
setAlpha(alpha: double)Sets the alpha value.
getAlphaSource() → AlphaSourceGets or sets whether the texture defines the alpha channel.
setAlphaSource(alphaSource: AlphaSource)Sets the alpha source value.
getWrapModeU() → WrapModeGets or sets the texture wrap modes in U.
setWrapModeU(wrapModeU: WrapMode)Sets the wrap mode u value.
getWrapModeV() → WrapModeGets or sets the texture wrap modes in V.
setWrapModeV(wrapModeV: WrapMode)Sets the wrap mode v value.
getWrapModeW() → WrapModeGets or sets the texture wrap modes in W.
setWrapModeW(wrapModeW: WrapMode)Sets the wrap mode w value.
getMinFilter() → TextureFilterGets or sets the filter for minification.
setMinFilter(minFilter: TextureFilter)Sets the min filter value.
getMagFilter() → TextureFilterGets or sets the filter for magnification.
setMagFilter(magFilter: TextureFilter)Sets the mag filter value.
getMipFilter() → TextureFilterGets or sets the filter for mip-level sampling.
setMipFilter(mipFilter: TextureFilter)Sets the mip filter value.
getUVRotation() → Vector3Gets or sets the rotation of the texture.
setUVRotation(uvRotation: Vector3)Sets the uv rotation value.
getUVScale() → Vector2Gets or sets the UV scale.
setUVScale(uvScale: Vector2)Sets the uv scale value.
getUVTranslation() → Vector2Gets 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()Calls A3DObject on this TextureBase instance.
A3DObject(name: String)Base class for all concrete textures. Texture defines the look and feel of a geometry surface.
getName() → StringReturns the name.
setName(name: String)Sets the name value.
getProperties() → PropertyCollectionReturns the properties.
findProperty(name: String) → PropertyCalls findProperty(name) on this TextureBase instance.
getProperty(name: String) → ObjectCalls getProperty(name) on this TextureBase instance.
setProperty(name: String, value: Object)Sets the property value.
removeProperty(name: String) → booleanCalls removeProperty(name) on this TextureBase instance.
removeProperty(property: Property) → booleanCalls removeProperty(property) on this TextureBase instance.

See Also

 English