MaterialBuilder.WithShader
MaterialBuilder.WithShader method
Sets ShaderStyle
.
public MaterialBuilder WithShader(string shader)
Parameter | Type | Description |
---|---|---|
shader | String | A valid shader style, which can be one of these values: SHADERUNLIT , SHADERPBRMETALLICROUGHNESS , SHADERPBRSPECULARGLOSSINESS |
Return Value
This MaterialBuilder
.
See Also
- class MaterialBuilder
- namespace Aspose.CAD.FileFormats.GLB.Materials
- assembly Aspose.CAD