LambertMaterial Class
Material for lambert shading model
Inheritance Hierarchy
SystemObject
  Aspose.ThreeDA3DObject
    Aspose.ThreeD.ShadingMaterial
      Aspose.ThreeD.ShadingLambertMaterial
        Aspose.ThreeD.ShadingPhongMaterial

Namespace: Aspose.ThreeD.Shading
Assembly: Aspose.3D (in Aspose.3D.dll) Version: 20.3.0.0 (20.3)
Syntax
public class LambertMaterial : Material

The LambertMaterial type exposes the following members.

Constructors
  NameDescription
Public methodLambertMaterial
Initializes a new instance of the LambertMaterial class.
Public methodLambertMaterial(String)
Initializes a new instance of the LambertMaterial class.
Properties
  NameDescription
Public propertyAmbientColor
Gets or sets the ambient color
Public propertyDiffuseColor
Gets or sets the diffuse color
Public propertyEmissiveColor
Gets or sets the emissive color
Public propertyName
Gets or sets the name.
(Inherited from A3DObject.)
Public propertyProperties
Gets the collection of all properties.
(Inherited from A3DObject.)
Public propertyTransparency
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 clampped.
Public propertyTransparentColor
Gets or sets the transparent color.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindProperty
Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
(Inherited from A3DObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetProperty
Get the value of specified property
(Inherited from A3DObject.)
Public methodGetTexture
Gets the texture from the specified slot, it can be material's property name or shader's parameter name
(Inherited from Material.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveProperty(String)
Remove the specified property identified by name
(Inherited from A3DObject.)
Public methodRemoveProperty(Property)
Removes a dynamic property.
(Inherited from A3DObject.)
Public methodSetProperty
Sets the value of specified property
(Inherited from A3DObject.)
Public methodSetTexture
Sets the texture to specified slot
(Inherited from Material.)
Public methodToString
Formats object to string
(Inherited from Material.)
Fields
  NameDescription
Protected fieldname
The name of the current object.
(Inherited from A3DObject.)
Protected fieldproperties
The properties of the current object.
(Inherited from A3DObject.)
See Also