Skip to content

RemoteBeamState

public struct RemoteBeamState

Namespace TightBeam.Api

Another player’s beam as it is being drawn on this machine.

Units match Beam: intensity as a Unity light intensity, range in metres, angle in degrees, colour channels from 0 to 1.

public bool IsOn

Whether that player’s beam is on.

public float Intensity

Intensity with running effects applied, range in metres and full cone angle in degrees.

public float Range

Intensity with running effects applied, range in metres and full cone angle in degrees.

public float SpotAngle

Intensity with running effects applied, range in metres and full cone angle in degrees.

public float R

Beam colour, each channel from 0 to 1.

public float G

Beam colour, each channel from 0 to 1.

public float B

Beam colour, each channel from 0 to 1.

public float A

Beam colour, each channel from 0 to 1.