numPixelLights(...)

Studio

numPixelLights(...)

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

Parameter Type Description
v number The number of pixel lights in the scene that the object will react to.

Returns

this

Open in new window