Properties
asset Type
asset Type : "material" = ...
extra Uniforms To Upload
extra Uniforms To Upload : Record < string , IUniform < any > > = {}
Readonly
is Unlit Material
is Unlit Material : true = true
on After Render
on After Render : ( ( renderer , scene , camera , geometry , object ) => void ) = ...
Type declaration
( renderer , scene , camera , geometry , object ) : void
Returns void
Implementation of IMaterial.onAfterRender
Overrides MeshBasicMaterial.onAfterRender
on Before Render
on Before Render : ( ( renderer , scene , camera , geometry , object ) => void ) = ...
Type declaration
( renderer , scene , camera , geometry , object ) : void
Returns void
Implementation of IMaterial.onBeforeRender
Overrides MeshBasicMaterial.onBeforeRender
register Material Extensions
register Material Extensions : ( ( this , customMaterialExtensions ) => void ) = iMaterialCommons.registerMaterialExtensions
Type declaration
( this , customMaterialExtensions ) : void
Returns void
Readonly
set Dirty
set Dirty : ( ( this , options ? ) => void ) = iMaterialCommons.setDirty
Type declaration
( this , options ? ) : void
Returns void
unregister Material Extensions
unregister Material Extensions : ( ( this , customMaterialExtensions ) => void ) = iMaterialCommons.unregisterMaterialExtensions
Type declaration
( this , customMaterialExtensions ) : void
Returns void
Static
Readonly
Material Properties
Material Properties : { alphaMap : null ; alphaTest : number ; alphaToCoverage : boolean ; aoMap : null ; aoMapIntensity : number ; blendDst : 205 ; blendDstAlpha : null ; blendEquation : 100 ; blendEquationAlpha : null ; blendSrc : 204 ; blendSrcAlpha : null ; blending : 1 ; clipIntersection : boolean ; clipShadows : boolean ; clippingPlanes : null ; color : Color ; colorWrite : boolean ; combine : 0 ; depthFunc : 3 ; depthTest : boolean ; depthWrite : boolean ; dithering : boolean ; envMap : null ; envMapIntensity : number ; flatShading : boolean ; fog : boolean ; forceSinglePass : boolean ; lightMap : null ; lightMapIntensity : number ; map : null ; name : string ; opacity : number ; polygonOffset : boolean ; polygonOffsetFactor : number ; polygonOffsetUnits : number ; precision : null ; premultipliedAlpha : boolean ; reflectivity : number ; refractionRatio : number ; shadowSide : null ; side : 0 ; skinning : boolean ; specularMap : null ; stencilFail : 7680 ; stencilFunc : 519 ; stencilFuncMask : number ; stencilRef : number ; stencilWrite : boolean ; stencilWriteMask : number ; stencilZFail : 7680 ; stencilZPass : 7680 ; toneMapped : boolean ; transparent : boolean ; userData : {} ; vertexColors : boolean ; visible : boolean ; wireframe : boolean ; wireframeLinecap : string ; wireframeLinejoin : string ; wireframeLinewidth : number ; } = ...
Type declaration
alpha Map : null
alpha Test : number
alpha To Coverage : boolean
ao Map : null
ao Map Intensity : number
blend Dst : 205
blend Dst Alpha : null
blend Equation : 100
blend Equation Alpha : null
blend Src : 204
blend Src Alpha : null
blending : 1
clip Intersection : boolean
clip Shadows : boolean
clipping Planes : null
color Write : boolean
combine : 0
depth Func : 3
depth Test : boolean
depth Write : boolean
dithering : boolean
env Map : null
env Map Intensity : number
flat Shading : boolean
fog : boolean
force Single Pass : boolean
light Map : null
light Map Intensity : number
map : null
name : string
opacity : number
polygon Offset : boolean
polygon Offset Factor : number
polygon Offset Units : number
precision : null
premultiplied Alpha : boolean
reflectivity : number
refraction Ratio : number
shadow Side : null
side : 0
skinning : boolean
specular Map : null
stencil Fail : 7680
stencil Func : 519
stencil Func Mask : number
stencil Ref : number
stencil Write : boolean
stencil Write Mask : number
stencilZFail : 7680
stencilZPass : 7680
tone Mapped : boolean
transparent : boolean
user Data : {}
vertex Colors : boolean
visible : boolean
wireframe : boolean
wireframe Linecap : string
wireframe Linejoin : string
wireframe Linewidth : number
Static
Material Template
Material Template : IMaterialTemplate < UnlitMaterial , Partial < { alphaMap : null ; alphaTest : number ; alphaToCoverage : boolean ; aoMap : null ; aoMapIntensity : number ; blendDst : 205 ; blendDstAlpha : null ; blendEquation : 100 ; blendEquationAlpha : null ; blendSrc : 204 ; blendSrcAlpha : null ; blending : 1 ; clipIntersection : boolean ; clipShadows : boolean ; clippingPlanes : null ; color : Color ; colorWrite : boolean ; combine : 0 ; depthFunc : 3 ; depthTest : boolean ; depthWrite : boolean ; dithering : boolean ; envMap : null ; envMapIntensity : number ; flatShading : boolean ; fog : boolean ; forceSinglePass : boolean ; lightMap : null ; lightMapIntensity : number ; map : null ; name : string ; opacity : number ; polygonOffset : boolean ; polygonOffsetFactor : number ; polygonOffsetUnits : number ; precision : null ; premultipliedAlpha : boolean ; reflectivity : number ; refractionRatio : number ; shadowSide : null ; side : 0 ; skinning : boolean ; specularMap : null ; stencilFail : 7680 ; stencilFunc : 519 ; stencilFuncMask : number ; stencilRef : number ; stencilWrite : boolean ; stencilWriteMask : number ; stencilZFail : 7680 ; stencilZPass : 7680 ; toneMapped : boolean ; transparent : boolean ; userData : {} ; vertexColors : boolean ; visible : boolean ; wireframe : boolean ; wireframeLinecap : string ; wireframeLinejoin : string ; wireframeLinewidth : number ; } > > = ...
Static
Readonly
TYPE
TYPE : "UnlitMaterial" = 'UnlitMaterial'
Static
Readonly
Type Slug
Type Slug : "bmat" = 'bmat'
Managed internally, do not change manually