Bitbybit Docs
    Preparing search index...

    Class BaseColorDto (Inputs.BabylonMaterial)

    Feeds babylon.material.pbrMetallicRoughness.setBaseColor with a material and its new base color.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalmaterial: PBRMetallicRoughnessMaterial
      • OptionalbaseColor: string

      Returns BaseColorDto

    Properties

    material: PBRMetallicRoughnessMaterial

    The material to change in place

    undefined
    
    baseColor?: string

    Hex color of the surface under white light

    #0000ff