Optional
__matOptional
alphaOptional
aoOptional
aoOptional
bumpOptional
colorThe initial value of Object.prototype.constructor is the standard built-in Object constructor.
Optional
displacementOptional
envOptional
envOptional
flatOptional
generatorManaged internally, do not change manually
Optional
isGBufferOptional
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
wireframeDisposes 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: booleanConvert the material to three.js JSON format.
Optional
meta: SerializationMetaTypeObject containing metadata such as textures or images for the material.
Optional
_internal: boolean
Managed internally, do not change manually