Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GLTFPbrMaterial

Hierarchy

Index

Constructors

constructor

Properties

Protected _alphaCutoff

_alphaCutoff: number

Protected _alphaMode

_alphaMode: GLTFAlphaMode

Protected _baseColorFactor

_baseColorFactor: vec4

Protected _baseColorTexture

_baseColorTexture: undefined | Texture2D

Protected _context

_context: Context

Protected _emissiveFactor

_emissiveFactor: vec3

Protected _emissiveTexture

_emissiveTexture: undefined | Texture2D

Protected _isDoubleSided

_isDoubleSided: boolean

Protected _isTransparent

_isTransparent: boolean

Protected _metallicFactor

_metallicFactor: number

Protected _metallicRoughnessTexture

_metallicRoughnessTexture: undefined | Texture2D

Protected _name

_name: string

Protected _normalScale

_normalScale: number

Protected _normalTexture

_normalTexture: undefined | Texture2D

Protected _occlusionTexture

_occlusionTexture: undefined | Texture2D

Protected _roughnessFactor

_roughnessFactor: number

baseColorTexCoord

baseColorTexCoord: number

emissiveTexCoord

emissiveTexCoord: number

metallicRoughnessTexCoord

metallicRoughnessTexCoord: number

normalTexCoord

normalTexCoord: number

occlusionTexCoord

occlusionTexCoord: number

Accessors

alphaCutoff

  • get alphaCutoff(): number
  • set alphaCutoff(val: number): void

alphaMode

baseColorFactor

  • get baseColorFactor(): vec4
  • set baseColorFactor(factor: vec4): void

baseColorTexture

  • get baseColorTexture(): undefined | Texture2D
  • set baseColorTexture(texture: undefined | Texture2D): void

emissiveFactor

  • get emissiveFactor(): vec3
  • set emissiveFactor(factor: vec3): void

emissiveTexture

  • get emissiveTexture(): undefined | Texture2D
  • set emissiveTexture(texture: undefined | Texture2D): void

flags

  • get flags(): number

isDoubleSided

  • get isDoubleSided(): boolean
  • set isDoubleSided(val: boolean): void

isTransparent

  • get isTransparent(): boolean
  • set isTransparent(val: boolean): void

metallicFactor

  • get metallicFactor(): number
  • set metallicFactor(factor: number): void

metallicRoughnessTexture

  • get metallicRoughnessTexture(): undefined | Texture2D
  • set metallicRoughnessTexture(texture: undefined | Texture2D): void

name

  • get name(): string

normalScale

  • get normalScale(): number
  • set normalScale(normalScale: number): void

normalTexture

  • get normalTexture(): undefined | Texture2D
  • set normalTexture(texture: undefined | Texture2D): void

occlusionTexture

  • get occlusionTexture(): undefined | Texture2D
  • set occlusionTexture(texture: undefined | Texture2D): void

roughnessFactor

  • get roughnessFactor(): number
  • set roughnessFactor(factor: number): void