Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PBRMetallicRoughnessDto

Index

Constructors

constructor

  • new PBRMetallicRoughnessDto(name?: string, baseColor?: string, emissiveColor?: string, metallic?: number, roughness?: number, alpha?: number, backFaceCulling?: boolean, zOffset?: number): PBRMetallicRoughnessDto
  • Parameters

    • Optional name: string
    • Optional baseColor: string
    • Optional emissiveColor: string
    • Optional metallic: number
    • Optional roughness: number
    • Optional alpha: number
    • Optional backFaceCulling: boolean
    • Optional zOffset: number

    Returns PBRMetallicRoughnessDto

Properties

alpha

alpha: number

Defines the transparency of the material

default

1

minimum

0

maximum

1

step

0.1

backFaceCulling

backFaceCulling: boolean

Identifies if both sides of the surface should have material applied

default

false

baseColor

baseColor: string

Base color of the material

default

#0000ff

Optional emissiveColor

emissiveColor: string

Emissive color of the material

default

#000000

metallic

metallic: number

Metallic value of the material

default

0.6

minimum

0

maximum

1

step

0.1

name

name: string

Name of the material

default

Custom Material

roughness

roughness: number

Roughness value of the material

default

0.5

minimum

0

maximum

1

step

0.1

zOffset

zOffset: number

Defines the z offset of the material

default

0

minimum

-Infinity

maximum

Infinity

step

0.1

Generated using TypeDoc