Collapse Sidebar




Determines the manner in which the Beam/Texture scales and repeats.

Beam Texture Behavior

How a Beam’s texture scales or repeats is dependent on the TextureMode property.

When TextureMode is ‘Wrap’ the size of the repeating texture corresponds to Beam/TextureLength in studs. For an example of this see the image below:

Note, the ‘Static’ Enum/TextureMode type is not used for Beams and therefore behaves identically to ‘Wrap’.

When Beam/TextureMode is set to ‘Stretch’ however the texture will be stretched relative to the beam’s length. The size of the texture relative to the Beam’s length will be one over the Beam/TextureLength. In practice, this means the texture will repeat Beam/TextureLength times. For an example of this see the image below:

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