SpriteManager

Hierarchy

  • SpriteManager

Index

Constructors

constructor

  • new SpriteManager(name: string, imgUrl: string, capacity: number, cellSize: any, scene: Scene, epsilon?: number, samplingMode?: number): SpriteManager
  • Parameters

    • name: string
    • imgUrl: string
    • capacity: number
    • cellSize: any
    • scene: Scene
    • Optional epsilon: number
    • Optional samplingMode: number

    Returns SpriteManager

Properties

cellHeight

cellHeight: number

cellWidth

cellWidth: number

fogEnabled

fogEnabled: boolean

isPickable

isPickable: boolean

layerMask

layerMask: number

name

name: string

onDispose

onDispose: function

Type declaration

    • (): void
    • Returns void

onDisposeObservable

onDisposeObservable: Observable<SpriteManager>

An event triggered when the manager is disposed.

renderingGroupId

renderingGroupId: number

sprites

sprites: Sprite[]

texture

texture: Texture

Methods

dispose

  • dispose(): void
  • Returns void

intersects

render

  • render(): void
  • Returns void

Generated using TypeDoc