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
Param | Type |
---|---|
material | THREE.Material |
texture_cache | HashSet.<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
Param | Type |
---|---|
root | Object3D |
result | Transform |
configureTextures(material)
Kind: global function
Param | Type |
---|---|
material | Material |
configureTextures~attachments : Array.<TextureAttachment>
Kind: inner constant of configureTextures
buildDracoDecoderPath() ⇒ string
Path to be supplied to draco decoder
Kind: global function