-
Notifications
You must be signed in to change notification settings - Fork 155
meshLambertMaterial
Wiki » Internal Components » Materials » meshLambertMaterial
Creates a THREE.MeshLambertMaterial
string
: This decides which property of the mesh the material should be assigned to.
Defaults to material
. Other example values:
- customDepthMaterial
- customDistanceMaterial
- and so on
Default: 'material'
bool
number
Default: 0
one of [THREE.FrontSide, THREE.BackSide, THREE.DoubleSide]
Default: THREE.FrontSide
bool
Default: true
bool
Default: true
one of [THREE.NoBlending, THREE.NormalBlending, THREE.AdditiveBlending, THREE.SubtractiveBlending, THREE.MultiplyBlending, THREE.CustomBlending]
Default: THREE.NormalBlending
one of [THREE.NeverDepth, THREE.AlwaysDepth, THREE.LessDepth, THREE.LessEqualDepth, THREE.EqualDepth, THREE.GreaterEqualDepth, THREE.GreaterDepth, THREE.NotEqualDepth]
Default: THREE.LessEqualDepth
number
bool
Default: true
one of [THREE.NoColors, THREE.FaceColors, THREE.VertexColors]
Default: THREE.NoColors
one of types [THREE.Color, number, string]
Default: 0xffffff
one of types [THREE.Color, number, string]
Default: 0x000000
bool
Default: false
number
Default: 1
THREE.Texture
Default: null
THREE.Texture
Default: null
THREE.Texture
Default: null
THREE.Texture
Default: null
THREE.Texture
Default: null
THREE.Texture
Default: null
THREE.Texture
Default: null
string
: The resource id of this object, only used if it is placed into resources.
Default: ''
If you would like to set a texture as a map for this material, you can do this by declaring the texture within:
<...material>
<texture url={...} .../>
</...material>
This component can be added into <resources/>! See Resource Types for more information.
===
View Source |
---|
Home | Usage | API Reference | Examples