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: Texture2D | undefined

Protected _context

_context: Context

Protected _emissiveFactor

_emissiveFactor: vec3

Protected _emissiveTexture

_emissiveTexture: Texture2D | undefined

Protected _isDoubleSided

_isDoubleSided: boolean

Protected _isTransparent

_isTransparent: boolean

Protected _metallicFactor

_metallicFactor: number

Protected _metallicRoughnessTexture

_metallicRoughnessTexture: Texture2D | undefined

Protected _name

_name: string

Protected _normalScale

_normalScale: number

Protected _normalTexture

_normalTexture: Texture2D | undefined

Protected _occlusionTexture

_occlusionTexture: Texture2D | undefined

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(): Texture2D | undefined
  • set baseColorTexture(texture: Texture2D | undefined): void

emissiveFactor

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

emissiveTexture

  • get emissiveTexture(): Texture2D | undefined
  • set emissiveTexture(texture: Texture2D | undefined): 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(): Texture2D | undefined
  • set metallicRoughnessTexture(texture: Texture2D | undefined): void

name

  • get name(): string

normalScale

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

normalTexture

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

occlusionTexture

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

roughnessFactor

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