Optional
__Optional
__Optional
_Optional
alphaOptional
aoOptional
aoOptional
bumpOptional
colorThe initial value of Object.prototype.constructor is the standard built-in Object constructor.
Optional
displacementOptional
emissiveOptional
emissiveOptional
emissiveOptional
envOptional
envOptional
flatOptional
generatorManaged internally, do not change manually
Optional
isOptional
isOptional
isOptional
isOptional
isOptional
isOptional
isOptional
lastOptional
lightOptional
lightOptional
linewidthOptional
mapOptional
metalnessOptional
metalnessSpecifies 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.
Optional
normalOptional
roughnessOptional
roughnessOptional
transmissionOptional
transmissionAn 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.
Optional
wireframeClones the Material. This is a shallow clone, so the properties are copied by reference.
Optional
track: 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
Optional
force: 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
Optional
meta: SerializationMetaTypeOptional
_internal: booleanOptional
options: IMaterialSetDirtyOptionsSets the properties based on the values.
Optional
allowInvalidType: booleanOptional
clearCurrentUserData: booleanOptional
time: AnimateTimeMaterialConvert the material to three.js JSON format.
Optional
meta: SerializationMetaTypeObject containing metadata such as textures or images for the material.
Optional
_internal: boolean
Objects 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.