Reference API Roblox

Engine API

Website

Related

Reference API Roblox

TextureMode

Describes how the texture of a Trail or Beam behaves.

Items 3

HistoryNameValueDescription
294Stretch0

For a Trail, the texture will stretch out based on the lifetime of the trail, and shrink inwards if the trail's attachments stop moving.

For a Beam, the texture will repeat TextureLength times across the beam's overall length. See here for details.

294Wrap1

For a Trail, the texture will be tiled as the length of the trail changes, but the textures will remain stationary relative to their attachments.

For a Beam, the texture repetitions will equal the beam's overall length (in studs) divided by its TextureLength. See here for details.

294Static2

For a Trail, the texture will be rolled out as the attachments move, and they will remain in place until their lifetime is met. This setting is ideal for trail textures that should appear "stamped" where rendered, such as paw prints or tire tracks.

This value is not supported for Beam and therefore behaves identically to Wrap.

Description

Describes how the texture of a Trail or Beam behaves.

History 4

Settings