This repository has been archived by the owner on Jul 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 155
meshDepthMaterial
Firtina Ozbalikci edited this page Aug 12, 2016
·
13 revisions
Wiki » Internal Components » Materials » meshDepthMaterial
Creates a THREE.MeshDepthMaterial
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
number
bool
Default: true
bool
Default: false
number
Default: 1
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