Internal Use Only.
Flags : Cached, External (Note this is uncached)
Expression : R.THREE.makeOBJ(this.renderName, this.spec)
This string is used as alternate MTL library for the OBJ file instead of one inside ZIP file. Can be used for fast editing of the materials while developing. Default value is empty string and MTL library will be loaded from ZIP file.
Flags : Cached, Parameter (Note this is uncached)
Expression : ""
Override of standard rule to access OBJ bounding box.
Flags : Cached (Note this is uncached)
Expression : R.THREE.computeObjectBB(this.scaledObj3, this.transform.get3())
A file reference to a ZIP file containing exactly one OBJ and MTL files, or a file reference directly to an OBJ file without material information. May be a Resource, URL, or server file path.
Flags : Cached, Required, Parameter (Note this is uncached)
Expression : ``
Internal Use Only.
Flags : Cached, Parameter (Note this is uncached)
Expression : R.getUrl(this.file)
Angle in degrees between facets above which will show an edge.
Flags : Cached, Parameter (Note this is uncached)
Expression : 15
Sets the invertTrProperty material option of the three.js MTLLoader
Flags : Cached, Parameter (Note this is uncached)
Expression : false
Untransformed MeshData object for this OBJ.
Flags : Cached (Note this is uncached)
Expression : R.THREE.getMeshData(this.__mod3)
A name of MTL file in ZIP that will be used as material library. Default is empty string, the first founded MTL file in ZIP will be used in this case.
Flags : Cached, Parameter (Note this is uncached)
Expression : ""
Internal Use Only.
Flags : Cached, Async (Note this is uncached)
Expression : R.THREE.getOBJ(this.fileUrl)
For cases where loading the entire object onto the server just to compute its bounding box is unnecessary, this should be set to false. Set this only when a serious performance issue requires it, or when the object is mostly image data (such as for environment maps).
Flags : Cached, Parameter (Note this is uncached)
Expression : true
Access to the raw, untransformed OBJ bounding box.
Flags : Cached (Note this is uncached)
Expression : R.THREE.computeObjectBB(this.scaledObj3)
The scale by which the OBJ geometry should be multiplied by. Set this for a uniform scaling. Set the individual xScale
, yScale
, and zScale
for non-uniform scaling.
Flags : Cached, Parameter (Note this is uncached)
Expression : 1.0
Internal Use Only.
Flags : Cached (Note this is uncached)
Expression : R.THREE.getScaledOBJ(this.obj3, this.fileUrl, this.xScale, this.yScale, this.zScale)
Internal Use Only.
Flags : Cached (Note this is uncached)
Expression : {file: this.fileUrl, bbox: this.preloadClientBB ? this.rawbbox.get3() : null, hardEdgeAngle: this.hardEdgeAngle, xScale: this.xScale, yScale: this.yScale, zScale: this.zScale, mtlName: this.mtlName, altMTLDefinition: this.altMTLDefinition, invertTransparency: this.invertTransparency, usePhysicalMaterial: this.usePhysicalMaterial}
If false
(the default), will use MeshPhongMaterial. If true
, then MeshPhysicalMaterial will be used.
Flags : Cached, Parameter (Note this is uncached)
Expression : false
The scale by which the x-direction should be multiplied by.
Flags : Cached, Parameter (Note this is uncached)
Expression : this.scale
The scale by which the y-direction should be multiplied by.
Flags : Cached, Parameter (Note this is uncached)
Expression : this.scale
The scale by which the z-direction should be multiplied by.
Flags : Cached, Parameter (Note this is uncached)
Expression : this.scale
OBJ (d.1.0)
Mixins: Render3Mixin, BaseAssembly
An imported OBJ object with MTL materials.