Optional__Optional__Optional Internal__Optional_Optional Internal_OptionalalphaOptionalaoOptionalaoObjects in the scene that are using this material. This is set in the Object3DManager when the objects are added/removed from the scene. Do not modify this set directly.
OptionalbumpOptionalcolorThe initial value of Object.prototype.constructor is the standard built-in Object constructor.
OptionaldisplacementOptionalemissiveOptionalemissiveOptionalemissiveOptionalenvOptionalenvOptionalflatOptionalisOptionalisOptionalisOptionalisOptionalisOptionalisOptionalisOptionalisOptionallastOptionallightOptionallightOptionallinewidthOptionalmapOptionalmetalnessOptionalmetalnessSpecifies that the material needs to be updated, WebGL wise. Set it to true if you made changes that need to be reflected in WebGL. This property is automatically set to true when instancing a new material.
OptionalnormalOptionalroughnessOptionalroughnessOptionaltransmissionOptionaltransmissionAn object that can be used to store custom data about the Material. It should not hold references to functions as these will not be cloned.
OptionalwireframeClones the Material. This is a shallow clone, so the properties are copied by reference.
Optionaltrack: booleanif true, the clone id and count will be tracked in the userData and a suffix will be appended to the name. default - false
Disposes the material from the GPU. Set force to false if not sure the material is used by any object in the scene. // todo add check for visible in scene also? or is that overkill
Optionalforce: booleanwhen true, same as three.js dispose. when false, only disposes if disposeOnIdle not false and not used by any object in the scene. default: true
Optionalmeta: SerializationMetaTypeOptional_internal: booleanOptionaloptions: IMaterialSetDirtyOptionsAn existing Material object or a plain JavaScript object with properties that will be copied to the material.
OptionalallowInvalidType: booleanCopy properties even if the type is different. Not used by default, but implemented in some material classes.
OptionalclearCurrentUserData: booleanclears the userData instead of merging first level. Default - true if Material object is passed, false if parameters object is passed
Optionaltime: AnimateTimeMaterialparameters to animate the setting of properties
Convert the material to three.js JSON format.
Optionalmeta: SerializationMetaTypeObject containing metadata such as textures or images for the material.
Optional_internal: boolean
A promise can be set by the object to indicate that the material(or any of its properties) is loading. This can be used by the scene, viewer, plugins to defer actions until the material is loaded.