Skip to content

Class: GLTFMaterial

Constructors

Properties

Constructors

constructor

new GLTFMaterial(): GLTFMaterial

Returns

GLTFMaterial

Properties

name

name: string

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:4


defines

defines: string[]

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:5


doubleSided

doubleSided: boolean

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:6


baseColorFactor

baseColorFactor: [1, 1, 1, 1]

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:7


emissiveFactor

emissiveFactor: number

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:8


metallicFactor

metallicFactor: number

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:9


roughnessFactor

roughnessFactor: number

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:10


alphaCutoff

alphaCutoff: number

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:11


enableBlend

enableBlend: boolean

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:12


baseColorTexture

baseColorTexture: Texture

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:13


metallicRoughnessTexture

metallicRoughnessTexture: Texture

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:14


normalTexture

normalTexture: Texture

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:15


occlusionTexture

occlusionTexture: Texture

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:16


emissiveTexture

emissiveTexture: Texture

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:17


extensions

extensions: any

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:18


baseMapOffsetSize

baseMapOffsetSize: Vector4

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:19


normalMapOffsetSize

normalMapOffsetSize: Vector4

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:20


emissiveMapOffsetSize

emissiveMapOffsetSize: Vector4

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:21


roughnessMapOffsetSize

roughnessMapOffsetSize: Vector4

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:22


metallicMapOffsetSize

metallicMapOffsetSize: Vector4

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:23


aoMapOffsetSize

aoMapOffsetSize: Vector4

Defined in

src/loader/parser/gltf/GLTFMaterial.ts:24

Released under the MIT License