shadow(...)
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
shadow(val: number[]): this;
Sets the 3D offset of a shadow to display, as [x, y, z]
, or null
for no shadow.
Default value: null
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | array or null | The offset to set, in the form [x, y, z] , or null for no shadow. |
Returns
Section titled “Returns”this