Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: TrailParticleComponent

[15:7] extends: ParticleComponent

Wraps FXGL's TrailParticleComponent (com.almasb.fxgl.dsl.components.view.TrailParticleComponent), a ParticleComponent subclass that emits a trail of small texture particles behind the entity as it moves. Useful for projectile tails, glow trails, and after-images.

Methods

  • TrailParticleComponent (object TextureObj = null)

    Creates a new TrailParticleComponent driven by the given Texture.

    • @p TextureObj is a Texture wrapper.
  • adopt (object Ajo)

    Wraps an existing TrailParticleComponent AussomJavaObject.