Class TextureBase

TextureBase class

Base class for all concrete textures. Texture defines the look and feel of a geometry surface.

public class TextureBase : A3DObject

Constructors

NameDescription
TextureBase(string)Initializes a new instance of the TextureBase class.

Properties

NameDescription
Alpha { get; set; }Gets or sets the default alpha value of the texture This is valid when the AlphaSource is PixelAlpha Default value is 1.0, valid value range is between 0 and 1
AlphaSource { get; set; }Gets or sets whether the texture defines the alpha channel. Default value is None
MagFilter { get; set; }Gets or sets the filter for magnification.
MinFilter { get; set; }Gets or sets the filter for minification.
MipFilter { get; set; }Gets or sets the filter for mip-level sampling.
virtual Name { get; set; }Gets or sets the name.(Inherited from A3DObject.)
Properties { get; }Gets the collection of all properties.(Inherited from A3DObject.)
UVRotation { get; set; }Gets or sets the rotation of the texture
UVScale { get; set; }Gets or sets the UV scale.
UVTranslation { get; set; }Gets or sets the UV translation.
WrapModeU { get; set; }Gets or sets the texture wrap modes in U.
WrapModeV { get; set; }Gets or sets the texture wrap modes in V.
WrapModeW { get; set; }Gets or sets the texture wrap modes in W.

Methods

NameDescription
FindProperty(string)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)(Inherited from A3DObject.)
GetProperty(string)Get the value of specified property(Inherited from A3DObject.)
RemoveProperty(Property)Removes a dynamic property.(Inherited from A3DObject.)
RemoveProperty(string)Remove the specified property identified by name(Inherited from A3DObject.)
SetProperty(string, object)Sets the value of specified property(Inherited from A3DObject.)
SetRotation(double, double)Sets the UV rotation.
SetScale(double, double)Sets the UV scale.
SetTranslation(double, double)Sets the UV translation.

See Also