SpriteRuntimeObjectPixiRenderer

SpriteRuntimeObjectPixiRenderer

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

Constructor

new SpriteRuntimeObjectPixiRenderer(runtimeObject, runtimeScene)

Parameters:
Name Type Description
runtimeObject

The object

runtimeScene

The scene

Source:

Methods

ensureUpToDate()

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

Source:

updateFrame()

Update the internal texture of the PIXI sprite.

Source: