bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class BabylonMaterialPbrMetallicRoughness

    Index

    Constructors

    create

    • Create PBR metallic roughnes material.

      Parameters

      Returns PBRMetallicRoughnessMaterial

      PBR metallic roughness material

      pbr material

      true

    get

    • Gets the base color of material

      Parameters

      Returns string

      base color

      get base color

    • Gets the metallic property of material

      Parameters

      Returns number

      metallic value

      get metallic

    • Gets the roughness of material

      Parameters

      Returns number

      roughness value

      get roughness

    • Gets the alpha of material

      Parameters

      Returns number

      alpha value

      get alpha

    • Gets the back face culling of material

      Parameters

      Returns boolean

      backfaceculling boolean

      get back face culling

    • Get the base texture of material

      Parameters

      Returns BaseTexture

      get base texture

    set

    • Sets the base color of material

      Parameters

      Returns void

      set base color

    • Sets the metallic property of material

      Parameters

      Returns void

      set metallic

    • Sets the roughness of material

      Parameters

      Returns void

      set roughness

    • Sets the alpha of material

      Parameters

      Returns void

      set alpha

    • Sets the back face culling of material

      Parameters

      Returns void

      set back face culling

    • Sets the texture of material

      Parameters

      Returns void

      set base texture