Trail
Renders a strip along the movement history of two attachments.
- Creatable
Instance.new("Trail")- Inherits
- Instance
- Replication
- Standard
Behavior
Trail renders a strip along the movement history of two attachments.
Summary
The first attachment used by the constraint or effect.
The second attachment used by the constraint or effect.
The brightness multiplier applied to the rendered particles or strip.
The color applied when rendering this instance.
The color distribution along the effect.
Whether this trail is enabled.
Whether the effect's strip faces the active camera.
The duration for which a particle or trail segment remains visible, in seconds.
The self-illumination contribution of the effect.
The amount of scene lighting applied to the rendered effect.
The maximum length permitted by the constraint, in studs.
The minimum length permitted by the constraint, in studs.
The content identifier of the texture used by this instance.
The length of one repeated texture section along the Beam.
Whether the Beam texture stretches, wraps, or remains fixed.
The rendering transparency, from 0 for opaque to 1 for invisible.
The transparency distribution along the effect.
The width multiplier over normalized Trail lifetime.
Returns this instance if it is an ExecutionGroup.
Properties
Attachment0
Trail.Attachment0: Attachment? = nilThe first attachment used by the constraint or effect.
Attachment1
Trail.Attachment1: Attachment? = nilThe second attachment used by the constraint or effect.
Brightness
Trail.Brightness: number = 1The brightness multiplier applied to the rendered particles or strip.
Color
Trail.Color: Color3 = Color3.new(1, 1, 1)The color applied when rendering this instance.
ColorSequence
Trail.ColorSequence: ColorSequence = ColorSequence.new(...)The color distribution along the effect.
Enabled
Trail.Enabled: boolean = trueWhether this trail is enabled.
FaceCamera
Trail.FaceCamera: boolean = falseWhether the effect's strip faces the active camera.
Lifetime
Trail.Lifetime: number = 2The duration for which a particle or trail segment remains visible, in seconds.
LightEmission
Trail.LightEmission: number = 0The self-illumination contribution of the effect.
LightInfluence
Trail.LightInfluence: number = 0The amount of scene lighting applied to the rendered effect.
MaxLength
Trail.MaxLength: number = 0The maximum length permitted by the constraint, in studs.
MinLength
Trail.MinLength: number = 0.1The minimum length permitted by the constraint, in studs.
Texture
Trail.Texture: Content = ""The content identifier of the texture used by this instance.
TextureLength
Trail.TextureLength: number = 1The length of one repeated texture section along the Beam.
TextureMode
Trail.TextureMode: Enum.TextureMode = Enum.TextureMode.StretchWhether the Beam texture stretches, wraps, or remains fixed.
Transparency
Trail.Transparency: number = 0The rendering transparency, from 0 for opaque to 1 for invisible.
TransparencySequence
Trail.TransparencySequence: NumberSequence = NumberSequence.new(...)The transparency distribution along the effect.
WidthScale
Trail.WidthScale: NumberSequence = NumberSequence.new(...)The width multiplier over normalized Trail lifetime.
Methods
GetExecutionGroup
Trail:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying