# LensFlareOptions

Interface · category: Other

Source: https://github.com/playcanvas/engine/blob/64089771243fe28a9b9d2b4de538b99b07c75097/src/extras/effects/lens-flare/lens-flare.js#L46

## Properties

### direction

```ts
direction?: Vec3
```

The world direction towards the source, for a source infinitely
far away, when the flare has no light.

### light

```ts
light?: LightComponent
```

The light the flare belongs to. A directional light gives
the direction of the source, an omni or spot light its position, and a spot light also limits
the flare to its cone. The color of the light tints the flare, and its intensity scales it, see
[LensFlare#useLightColor](https://api.playcanvas.com/engine/classes/LensFlare.md#uselightcolor) and [LensFlare#useLightIntensity](https://api.playcanvas.com/engine/classes/LensFlare.md#uselightintensity).

### node

```ts
node?: GraphNode
```

The node whose position is the source, when the flare has no
light.

### position

```ts
position?: Vec3
```

The world position of the source, when the flare has neither a
light nor a node.
