Doc > Nodes > OBJ > PointLight
Creates a point light.
Description
no description
Parameters
Name | Type | Description |
---|---|---|
keepPosWhenParenting | boolean | toggle on to keep world position when adding a parent or removing from one |
rotationOrder | integer | rotation order |
t | vector3 | translate |
r | vector3 | rotation |
s | vector3 | scale |
scale | float | scale |
matrixAutoUpdate | boolean | set for the matrix to be updated every frame |
color | color | light color |
intensity | float | light intensity |
decay | float | light decay |
distance | float | light distance |
showHelper | boolean | toggle to show helper |
helperSize | float | helper size |
castShadow | boolean | toggle to cast shadows |
shadowAutoUpdate | boolean | toggle off if the shadows do not need to be regenerated |
shadowUpdateOnNextRender | boolean | press button to update the shadows on next render |
shadowRes | vector2 | shadow res |
shadowBias | float | shadow bias |
shadowNear | float | shadow camera near |
shadowFar | float | shadow camera far |