PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
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