Class TextureBase TextureBase class Base class for all concrete textures. Texture defines the look and feel of a geometry surface.
Copy public class TextureBase : A3DObject
Constructors Name Description TextureBase (string)Initializes a new instance of the TextureBase
class.
Properties Name Description 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. Properties { get; }Gets the collection of all properties. 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 Name Description FindProperty (string)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) GetProperty (string)Get the value of specified property RemoveProperty (Property)Removes a dynamic property. RemoveProperty (string)Remove the specified property identified by name SetProperty (string, object)Sets the value of specified property SetRotation (double, double)Sets the UV rotation. SetScale (double, double)Sets the UV scale. SetTranslation (double, double)Sets the UV translation.
See Also