Skip to content

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

ParameterTypeDescription
valarray or nullThe offset to set, in the form [x, y, z], or null for no shadow.

this