Bitbybit Docs
    Preparing search index...

    Class RoughnessDto (Inputs.BabylonMaterial)

    Feeds babylon.material.pbrMetallicRoughness.setRoughness with a material and its new roughness.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalmaterial: PBRMetallicRoughnessMaterial
      • Optionalroughness: number

      Returns RoughnessDto

    Properties

    material: PBRMetallicRoughnessMaterial

    The material to change in place

    undefined
    
    roughness?: number

    How rough the surface is, from 0 for a mirror finish to 1 for fully matte

    0.5
    

    0

    1

    0.1