API

Function updateBillboardSpriteIndex

  • Updates the billboard sprite at the given instance index.

    Parameters

    • system: BillboardSpriteSystem

      Billboard system that owns the sprite.

    • index: number

      Instance index to update.

    • patch: Partial<BillboardSpriteInit>

      Partial set of properties to overwrite.

    Returns void

    If index is out of range.