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

TextureSpeed

Beam

float

Determines the speed at which the Beam/Texture image moves along the Beam.

When TextureSpeed is positive, the beam’s texture will move from Beam/Attachment0 to Beam/Attachment1. This direction can be inverted by setting TextureSpeed to a negative number.

Note the speed at which the texture moves is relative to the length of the texture. Meaning the more stretched the beam’s Beam/Texture is, the faster it will move at the same TextureSpeed.


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