Sprite_Animation.d overview
Table of contents
- utils
- Sprite_Animation (class)
- initMembers (method)
- destroy (method)
- setup (method)
- update (method)
- canStart (method)
- shouldWaitForPrevious (method)
- updateEffectGeometry (method)
- updateMain (method)
- processSoundTimings (method)
- processFlashTimings (method)
- checkEnd (method)
- updateFlash (method)
- isPlaying (method)
- setRotation (method)
- _render (method)
- setProjectionMatrix (method)
- setCameraMatrix (method)
- setViewport (method)
- targetPosition (method)
- targetSpritePosition (method)
- resetViewport (method)
- onBeforeRender (method)
- onAfterRender (method)
- _targets (property)
- _animation (property)
- _mirror (property)
- _delay (property)
- _previous (property)
- _effect (property)
- _handle (property)
- _playing (property)
- _started (property)
- _frameIndex (property)
- _maxTimingFrames (property)
- _flashColor (property)
- _flashDuration (property)
- _viewportSize (property)
- targetObjects (property)
- Sprite_Animation (class)
utils
Sprite_Animation (class)
// Sprite_Animation // // The sprite for displaying an animation.
Signature
export declare class Sprite_Animation {
constructor()
}
initMembers (method)
Signature
initMembers(): void
destroy (method)
Signature
destroy(options?: PIXIDestroyOptions): void
setup (method)
Signature
setup(
targets: Sprite[],
animation: DataAnimation,
mirror: boolean,
delay: number,
previous: Sprite_Animation | null
): void
update (method)
Signature
update(): void
canStart (method)
Signature
canStart(): boolean
shouldWaitForPrevious (method)
Signature
shouldWaitForPrevious(): boolean
updateEffectGeometry (method)
Signature
updateEffectGeometry(): void
updateMain (method)
Signature
updateMain(): void
processSoundTimings (method)
Signature
processSoundTimings(): void
processFlashTimings (method)
Signature
processFlashTimings(): void
checkEnd (method)
Signature
checkEnd(): void
updateFlash (method)
Signature
updateFlash(): void
isPlaying (method)
Signature
isPlaying(): boolean
setRotation (method)
Signature
setRotation(x: number, y: number, z: number): void
_render (method)
Signature
_render(renderer: PIXI.Renderer): void
setProjectionMatrix (method)
Signature
setProjectionMatrix(renderer: PIXI.Renderer): void
setCameraMatrix (method)
Signature
setCameraMatrix(_renderer: PIXI.Renderer): void
setViewport (method)
Signature
setViewport(renderer: PIXI.Renderer): void
targetPosition (method)
Signature
targetPosition(renderer: PIXI.Renderer): Point
targetSpritePosition (method)
Signature
targetSpritePosition(sprite: Sprite): PIXI.Point
resetViewport (method)
Signature
resetViewport(renderer: PIXI.Renderer): void
onBeforeRender (method)
Signature
onBeforeRender(renderer: PIXI.Renderer): void
onAfterRender (method)
Signature
onAfterRender(renderer: PIXI.Renderer): void
_targets (property)
Signature
_targets: Sprite < Bitmap > []
_animation (property)
Signature
_animation: DataAnimation
_mirror (property)
Signature
_mirror: boolean
_delay (property)
Signature
_delay: number
_previous (property)
Signature
_previous: Sprite_Animation | null
_effect (property)
Signature
_effect: any
_handle (property)
Signature
_handle: any
_playing (property)
Signature
_playing: boolean
_started (property)
Signature
_started: boolean
_frameIndex (property)
Signature
_frameIndex: number
_maxTimingFrames (property)
Signature
_maxTimingFrames: number
_flashColor (property)
Signature
_flashColor: [number, number, number, number]
_flashDuration (property)
Signature
_flashDuration: number
_viewportSize (property)
Signature
_viewportSize: number
targetObjects (property)
Signature
targetObjects: AnimationTarget[] | undefined