Class ParticleTextureAnimationOptions

Structure used for initializing a ParticleTextureAnimation object.

Constructors

Properties

_cycleCount: number
_isRandomRowPicked: boolean

Accessors

  • get cycleCount(): number
  • Number of cycles to loop the animation during particle's lifetime.

    Returns number

  • set cycleCount(value): void
  • Parameters

    • value: number

    Returns void

  • get isRandomRowPicked(): boolean
  • Randomly pick a row to use for animation when the particle is first spawned. This implies that only a single row of the grid will be used for individual particle's animation.

    Returns boolean

  • set isRandomRowPicked(value): void
  • Parameters

    • value: boolean

    Returns void

Methods