Roblox Wiki
Advertisement
Roblox Wiki

Beam is a class that creates a beam between two ExplorerImageIndex 81.pngAttachments. This class was added on November 8, 2017. It inherits Instance. Beams are similar to ExplorerImageIndex 93.pngTrails, but instead of using the movement of two Attachments, they have a constant particle going from one to the other.

Beams!

Properties

Pubfield.gif Attachment Attachment0

  • Category: Shape.
  • Serialization: can save and load.

Pubfield.gif Attachment Attachment1

  • Category: Shape.
  • Serialization: can save and load.

Pubfield.gif ColorSequence Color

The color of the beam as it progresses.

  • Category: Appearance.
  • Serialization: can save and load.

Pubfield.gif float CurveSize0

  • Category: Shape.
  • Serialization: can save and load.

Pubfield.gif float CurveSize1

  • Category: Shape.
  • Serialization: can save and load.

Pubfield.gif bool Enabled

Whether or not the beam is enabled.

  • Category: Appearance.
  • Serialization: can save and load.

Pubfield.gif bool FaceCamera

If true, the beam will face the camera always.

  • Category: Shape.
  • Serialization: can save and load.

Pubfield.gif float LightEmission

A float between 0 and 1 describing how much light comes out of the beam.

  • Category: Appearance.
  • Serialization: can save and load.

Pubfield.gif float LightInfluence

  • Category: Appearance.
  • Serialization: can save and load.

Pubfield.gif int Segments

  • Category: Shape.
  • Serialization: can save and load.

Pubfield.gif Content Texture

The image being displayed.

  • Category: Appearance.
  • Serialization: can save and load.

Pubfield.gif float TextureLength

The length of the texture before making a second texture, if the TextureMode is set to "Stretch".

  • Category: Appearance.
  • Serialization: can save and load.

Pubfield.gif TextureMode TextureMode

How the beam is displayed.

  • Category: Appearance.
  • Serialization: can save and load.

Pubfield.gif float TextureSpeed

  • Category: Appearance.
  • Serialization: can save and load.

Pubfield.gif NumberSequence Transparency

The transparency of the beam as time progresses.

  • Category: Appearance.
  • Serialization: can save and load.

Pubfield.gif float Width0

  • Category: Shape.
  • Serialization: can save and load.

Pubfield.gif float Width1

  • Category: Shape.
  • Serialization: can save and load.

Pubfield.gif float ZOffset

  • Category: Appearance.
  • Serialization: can save and load.

Functions

Pubmethod.gif void SetTextureOffset(float offset = 0)

External links

Advertisement