mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-24 15:01:38 +00:00
rules
This commit is contained in:
parent
a9b4f8e83b
commit
e6efc04756
8494 changed files with 495610 additions and 0 deletions
51
.cursor/rules/roblox/reference/engine/enums/TextureMode.yaml
Normal file
51
.cursor/rules/roblox/reference/engine/enums/TextureMode.yaml
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
# This file is automatically generated. Please don't edit it manually.
|
||||
# To submit a bug report on the content, see
|
||||
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
|
||||
|
||||
name: TextureMode
|
||||
type: enum
|
||||
summary: |
|
||||
Describes how the texture of a `Class.Trail` or `Class.Beam` behaves.
|
||||
description: |
|
||||
Describes how the texture of a `Class.Trail` or `Class.Beam` behaves.
|
||||
code_samples: []
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
items:
|
||||
- name: Stretch
|
||||
summary: |
|
||||
For a `Class.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 `Class.Beam`, the texture will repeat
|
||||
`Class.Beam.TextureLength|TextureLength` times across the beam's overall
|
||||
length. See [here](../../../effects/beams.md#texture-lengthmode) for
|
||||
details.
|
||||
value: 0
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
- name: Wrap
|
||||
summary: |
|
||||
For a `Class.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 `Class.Beam`, the texture repetitions will equal the beam's overall
|
||||
length (in studs) divided by its
|
||||
`Class.Beam.TextureLength|TextureLength`. See
|
||||
[here](../../../effects/beams.md#texture-lengthmode) for details.
|
||||
value: 1
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
- name: Static
|
||||
summary: |
|
||||
For a `Class.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 `Class.Beam` and therefore behaves
|
||||
identically to **Wrap**.
|
||||
value: 2
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
Loading…
Add table
Add a link
Reference in a new issue