Options
All
  • Public
  • Public/Protected
  • All
Menu

PBRMaterial lets you change some material properties that have an effect on the visualization.

since

2021.1

Hierarchy

  • PBRMaterial

Overview

Properties

Optional metallicFactor

metallicFactor: number

The metalness of a material is a value that ranges from 0, meaning the material is a dielectric, to 1, meaning the material is a metal. A dielectric is a type of electrical insulator. Some examples include porcelain, glass, and most plastics. Usually, a material is either metallic or dielectric. Values in between are for blending between metals and dielectrics such as dirty metallic surfaces.

With this metallicFactor you can scale the metalness values in the data to your liking. If there are no such values in the data, it scales the default metalness value which is 1.

default

1

Optional roughnessFactor

roughnessFactor: number

The roughness of a material is a value that ranges from 0, meaning completely smooth, to 1, meaning completely rough.

With this roughnessFactor you can scale the roughness values in the data to your liking. If there are no such values in the data, it scales the default roughness value which is 1.

default

1

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method