Skip to content

TrailMode Enum

Definition

Namespace: Brine2D.Systems.Rendering

Controls how particle trail history is rendered.

C#
public enum TrailMode

Fields

Sprites 0

Each history slot is rendered as an individual sprite or circle. Works with all particle shapes but may leave visible gaps at high speed or low trail density.

Lines 1

Consecutive history positions are connected by DrawLine calls, producing a continuous ribbon. Trail size is used as the line thickness. Not available for textured particles — falls back to Sprites when a texture or atlas region is set.