Bitbybit Docs
    Preparing search index...

    Class MetallicDto (Inputs.BabylonMaterial)

    Feeds babylon.material.pbrMetallicRoughness.setMetallic with a material and its new metallic value.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalmaterial: PBRMetallicRoughnessMaterial
      • Optionalmetallic: number

      Returns MetallicDto

    Properties

    material: PBRMetallicRoughnessMaterial

    The material to change in place

    undefined
    
    metallic?: number

    How metallic the surface is, from 0 for paint or plastic to 1 for bare metal

    0.5
    

    0

    1

    0.1