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

    Constructors

    • Parameters

      • Optionalname: string
      • OptionalbaseColor: string
      • OptionalemissiveColor: string
      • Optionalmetallic: number
      • Optionalroughness: number
      • Optionalalpha: number
      • OptionalbackFaceCulling: boolean
      • OptionalzOffset: number

      Returns PBRMetallicRoughnessDto

    Properties

    name: string

    Name of the material

    Custom Material
    
    baseColor: string

    Base color of the material

    #0000ff
    
    emissiveColor?: string

    Emissive color of the material

    #000000
    
    metallic: number

    Metallic value of the material

    0.6
    

    0

    1

    0.1

    roughness: number

    Roughness value of the material

    0.5
    

    0

    1

    0.1

    alpha: number

    Defines the transparency of the material

    1
    

    0

    1

    0.1

    backFaceCulling: boolean

    Identifies if both sides of the surface should have material applied

    false
    
    zOffset: number

    Defines the z offset of the material

    0
    

    -Infinity

    Infinity

    0.1