Interface: TrailConfig

Configuration for an entity trail.

Properties

container

container: Container<DisplayObject>

The parent PIXI.Container to add the trail to.


length

length: number

Length of the trail in physics steps.


texture

texture: Texture<Resource>

Texture to use for the PIXI.Rope.


textureScale

Optional textureScale: number

Texture scale for the PIXI.Rope. The default value 0 causes the texture to stretch to the length of the trail, whereas a scale of 1 or more will cause the texture to repeat in a tiling pattern using the given scale.