numPixelLights(...)
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.
numPixelLights(v: number) : this;
Sets the number of pixel lights in the scene that the object will react to.
Pixel lights are calculated per pixel, resulting in a more accurate color outcome, but more expensive to calculate.
Default value: 1
Recommended range: 0-1
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
v | number | The number of pixel lights in the scene that the object will react to. |
Returns
Section titled “Returns”this