Toolkit.WithPBRMetallicRoughness

WithPBRMetallicRoughness(this Material)

Initializes this Material instance with PBR Metallic Roughness attributes.

public static Material WithPBRMetallicRoughness(this Material material)
ParameterTypeDescription
materialMaterialThe Material instance to set.

Return Value

This Material instance.

See Also


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