PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

LightInfluence

Beam

float

Determines the degree to which the Beam is influenced by the environment’s lighting.

LightInfluence is clamped between 0 and 1. When LightInfluence is 0, the Beam will be unaffected by the environment’s lighting. When LightInfluence is 1 however, it will be fully affected by lighting (as a BasePart would be).

For an example of this, and a demonstration of how this property interacts with Beam/LightEmission, please see the images below.

enter image description here

enter image description here


Code Samples


Creating a Beam From Scratch

​This code sample demonstrates how a Beam effect can be created from scratch by creating a Beam, setting all of its properties and configuring it’s Attachments. See below for an image of the final result:

enter image description here