Skip to main content

GLTFAssetLoader

Functions

replace_material_textures_from_cache(material, texture_cache)
transferRootTransform(root, result)boolean

Transfer any transform on the root down to the children instead

configureTextures(material)
buildDracoDecoderPath()string

Path to be supplied to draco decoder

replace_material_textures_from_cache(material, texture_cache)

Kind: global function

ParamType
materialTHREE.Material
texture_cacheHashSet.<Texture>

transferRootTransform(root, result) ⇒ boolean

Transfer any transform on the root down to the children instead

Kind: global function
Returns: boolean - whether or not any transform was carried out

ParamType
rootObject3D
resultTransform

configureTextures(material)

Kind: global function

ParamType
materialMaterial

configureTextures~attachments : Array.<TextureAttachment>

Kind: inner constant of configureTextures

buildDracoDecoderPath() ⇒ string

Path to be supplied to draco decoder

Kind: global function