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

NameTypeAccessDescription
alphadoubleReadGets or sets the default alpha value of the texture.
alphaSourceAlphaSourceReadGets or sets whether the texture defines the alpha channel.
wrapModeUWrapModeReadGets or sets the texture wrap modes in U.
wrapModeVWrapModeReadGets or sets the texture wrap modes in V.
wrapModeWWrapModeReadGets or sets the texture wrap modes in W.
minFilterTextureFilterReadGets or sets the filter for minification.
magFilterTextureFilterReadGets or sets the filter for magnification.
mipFilterTextureFilterReadGets or sets the filter for mip-level sampling.
uVRotationVector3ReadGets or sets the rotation of the texture.
uVScaleVector2ReadGets or sets the UV scale.
uVTranslationVector2ReadGets or sets the UV translation.
nameStringReadGets 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)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()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()Parameterized Cylinder. It can also be used to represent a cone when one of radiusTop/radiusBottom is zero.
getName()StringThe segments of the curve.
setName(name: String)Constructs a CircleShape profile with specified radius.
getProperties()PropertyCollectionInitializes a new instance of Cylinder class.
findProperty(name: String)PropertyInitializes a new instance of the Bone class.
getProperty(name: String)ObjectGets the transform matrix of the node in current pose.
setProperty(name: String, value: Object)Gets the width segments.
removeProperty(name: String)booleanGets flip coordinate system of control points/normal during importing/exporting.

See Also

 English