Toolkit.WithPBRMetallicRoughness
WithPBRMetallicRoughness(this Material)
Initializes this Material
instance with PBR Metallic Roughness attributes.
public static Material WithPBRMetallicRoughness(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
WithPBRMetallicRoughness(this Material, Vector4, string, string, float, float)
public static Material WithPBRMetallicRoughness(this Material material, Vector4 baseColor,
string baseColorImageFilePath, string metallicImageFilePath = null, float metallicFactor = 1,
float roughnessFactor = 1)
See Also
- class Material
- class Toolkit
- namespace Aspose.CAD.FileFormats.GLB.ToolKit
- assembly Aspose.CAD