Toolkit.WithDefault
WithDefault(this Material)
Initializes this Material
instance with default material attributes.
public static Material WithDefault(this Material material)
Parameter | Type | Description |
---|---|---|
material | Material | The Material instance to set. |
Return Value
This Material
instance.
See Also
- class Material
- class Toolkit
- namespace Aspose.CAD.FileFormats.GLB.ToolKit
- assembly Aspose.CAD
WithDefault(this Material, Vector4)
Initializes this Material
instance with default material attributes.
public static Material WithDefault(this Material material, Vector4 diffuseColor)
Parameter | Type | Description |
---|---|---|
material | Material | The Material instance to set. |
diffuseColor | Vector4 | A Vector4 color where X=Red, Y=Green, Z=Blue, W=Alpha. |
Return Value
This Material
instance.
See Also
- class Material
- class Toolkit
- namespace Aspose.CAD.FileFormats.GLB.ToolKit
- assembly Aspose.CAD