Class: SpriteRuntimeObjectPixiRenderer

SpriteRuntimeObjectPixiRenderer

new gdjs.SpriteRuntimeObjectPixiRenderer(runtimeObject, runtimeScene)

The renderer for a gdjs.SpriteRuntimeObject using Pixi.js.

Name Type Description
runtimeObject gdjs.SpriteRuntimeObject

The object

runtimeScene gdjs.RuntimeScene

The scene

Methods

Call this to make sure the sprite is ready to be rendered.

Update the internal texture of the PIXI sprite.