rimLightColor(...)
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.
rimLightColor(val: number[]): this;
Sets the color value of the rim light, if one is enabled.
Default value: [0, 0, 0]
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | array | The value to set the rim light color to, in the following form: [r,g,b] . Each component is a number between 0 and 1. |
Returns
Section titled “Returns”this