# Sandbox.BeamEffect.BeamInstance

Represents an individual beam instance within the effect.

- Kind: class
- Assembly: `Sandbox.Engine`

## Constructors

- [`BeamInstance`](/api/Sandbox.BeamEffect.BeamInstance/.ctor)

## Fields

- [`EndPosition`](/api/Sandbox.BeamEffect.BeamInstance/EndPosition): End position of the beam in world space.
- [`RandomSeed`](/api/Sandbox.BeamEffect.BeamInstance/RandomSeed): Random seed used to generate consistent random values for this beam instance.
- [`Renderer`](/api/Sandbox.BeamEffect.BeamInstance/Renderer): LineRenderer component used to render the beam visually.
- [`StartPosition`](/api/Sandbox.BeamEffect.BeamInstance/StartPosition): Start position of the beam in world space.
- [`TimeBorn`](/api/Sandbox.BeamEffect.BeamInstance/TimeBorn): Time when the beam was created (born).
- [`TimeDie`](/api/Sandbox.BeamEffect.BeamInstance/TimeDie): Time when the beam will expire (die).

## Properties

- [`Delta`](/api/Sandbox.BeamEffect.BeamInstance/Delta): Returns the normalized lifetime of the beam, ranging from 0 (just born) to 1 (expired).

## Methods

- [`Destroy`](/api/Sandbox.BeamEffect.BeamInstance/Destroy): Destroys the beam instance, cleaning up its resources.
