Class ParticleTextureAnimationOptions

Structure used for initializing a ParticleTextureAnimation object.

Hierarchy

  • FrameworkObject
    • ParticleTextureAnimationOptions

Constructors

Properties

Accessors

Methods

Events

Constructors

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
  • Returns boolean

  • set isRandomRowPicked(value): void
  • Parameters

    • value: boolean

    Returns void

Methods

  • Marks the object as dirty.

    Parameters

    Returns void

  • Allows modifying this object multiple times in a row in a scope, without marking the object dirty immediately. Dirty flags are accumulated and the object is marked dirty at the end.

    Parameters

    • action: (() => void)

      The scope where the object is modified.

        • (): void
        • Returns void

    Returns void

Events

onDirty: Event<[dirtyFlags: EnumValue<ManagedSettingsDirtyFlag, number>], void>

Event that is triggered when a member changes.