Class LambertMaterial
LambertMaterial class
Material for lambert shading model
public class LambertMaterial : Material
Constructors
Name | Description |
---|
LambertMaterial() | Initializes a new instance of the LambertMaterial class. |
LambertMaterial(string) | Initializes a new instance of the LambertMaterial class. |
Properties
Name | Description |
---|
AmbientColor { get; set; } | Gets or sets the ambient color |
DiffuseColor { get; set; } | Gets or sets the diffuse color |
EmissiveColor { get; set; } | Gets or sets the emissive color |
virtual Name { get; set; } | Gets or sets the name.(Inherited from A3DObject .) |
Properties { get; } | Gets the collection of all properties.(Inherited from A3DObject .) |
Transparency { get; set; } | Gets or sets the transparency factor. The factor should be ranged between 0(0%, fully opaque) and 1(100%, fully transparent) Any invalid factor value will be clamped. |
TransparentColor { get; set; } | Gets or sets the transparent color. |
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)(Inherited from A3DObject .) |
GetEnumerator() | Gets the enumerator to enumerate internal texture slots.(Inherited from Material .) |
GetProperty(string) | Get the value of specified property(Inherited from A3DObject .) |
GetTexture(string) | Gets the texture from the specified slot, it can be material’s property name or shader’s parameter name(Inherited from Material .) |
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 .) |
SetTexture(string, TextureBase) | Sets the texture to specified slot(Inherited from Material .) |
override ToString() | Formats object to string(Inherited from Material .) |
See Also