PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
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