mirror of
https://github.com/CesiumGS/obj2gltf.git
synced 2024-11-23 16:44:05 -05:00
Update description
This commit is contained in:
parent
7ac21559a1
commit
fa73dcbfc9
@ -114,7 +114,7 @@ As a convenience the PBR textures may be supplied directly to the command line.
|
||||
|`--baseColorTexture`|Path to the baseColor/diffuse texture that should override textures in the .mtl file.|No|
|
||||
|`--emissiveTexture`|Path to the emissive texture that should override textures in the .mtl file.|No|
|
||||
|`--alphaTexture`|Path to the alpha texture that should override textures in the .mtl file.|No|
|
||||
|`--extras`|An object for storing application-specific data. It will be saved to the root object for a gLTF asset.|No|
|
||||
|`--extrasPath`|Path to the json file that contains an object for storing application-specific data. It will be saved to the top-level of the glTF.|No|
|
||||
|
||||
## Build Instructions
|
||||
|
||||
|
@ -37,7 +37,7 @@ module.exports = obj2gltf;
|
||||
* @param {Logger} [options.logger] A callback function for handling logged messages. Defaults to console.log.
|
||||
* @param {Writer} [options.writer] A callback function that writes files that are saved as separate resources.
|
||||
* @param {String} [options.outputDirectory] Output directory for writing separate resources when options.writer is not defined.
|
||||
* @param {Object} [options.extras] An object for storing application-specific data. It will be saved to the root object for a gLTF asset.
|
||||
* @param {Object} [options.extras] An object for storing application-specific data. It will be saved to the top-level of the glTF.
|
||||
* @return {Promise} A promise that resolves to the glTF JSON or glb buffer.
|
||||
*/
|
||||
function obj2gltf(objPath, options) {
|
||||
|
Loading…
Reference in New Issue
Block a user