Light2DUniforms
Defined in: packages/three-flatland/src/lights/Light2D.ts:64
Uniform data structure for passing to shaders.
Properties
Section titled “Properties”angle:
number
Defined in: packages/three-flatland/src/lights/Light2D.ts:71
castsShadow
Section titled “castsShadow”castsShadow:
boolean
Defined in: packages/three-flatland/src/lights/Light2D.ts:74
category
Section titled “category”category:
string|undefined
Defined in: packages/three-flatland/src/lights/Light2D.ts:76
color:
Color
Defined in: packages/three-flatland/src/lights/Light2D.ts:68
decay:
number
Defined in: packages/three-flatland/src/lights/Light2D.ts:73
direction
Section titled “direction”direction:
Vector2
Defined in: packages/three-flatland/src/lights/Light2D.ts:67
distance
Section titled “distance”distance:
number
Defined in: packages/three-flatland/src/lights/Light2D.ts:70
importance
Section titled “importance”importance:
number
Defined in: packages/three-flatland/src/lights/Light2D.ts:75
intensity
Section titled “intensity”intensity:
number
Defined in: packages/three-flatland/src/lights/Light2D.ts:69
penumbra
Section titled “penumbra”penumbra:
number
Defined in: packages/three-flatland/src/lights/Light2D.ts:72
position
Section titled “position”position:
Vector2
Defined in: packages/three-flatland/src/lights/Light2D.ts:66
type:
Light2DType
Defined in: packages/three-flatland/src/lights/Light2D.ts:65