Constructor
new ShadowMaterial( parameters : Object )
Constructs a new shadow material.
| parameters |
An object with one or more properties defining the material's appearance. Any property of the material (including any property from inherited materials) can be passed in here. Color values can be passed any type of value accepted by Color#set. |
Properties
.fog : boolean
Whether the material is affected by fog or not.
Default is true.
.isShadowMaterial : boolean (readonly)
This flag can be used for type testing.
Default is true.
.transparent : boolean
Overwritten since shadow materials are transparent by default.
Default is true.
- Overrides: Material#transparent