obj2gltf/lib/Texture.js

20 lines
372 B
JavaScript
Raw Normal View History

2017-07-28 16:56:28 -04:00
'use strict';
module.exports = Texture;
2017-07-28 16:56:28 -04:00
/**
* An object containing information about a texture.
2017-07-28 16:56:28 -04:00
*
* @private
*/
function Texture() {
2017-07-28 16:56:28 -04:00
this.transparent = false;
this.source = undefined;
this.name = undefined;
2017-07-28 16:56:28 -04:00
this.extension = undefined;
this.path = undefined;
this.pixels = undefined;
2017-07-28 16:56:28 -04:00
this.width = undefined;
this.height = undefined;
}