getTicker
Returns the context of the parent Ticker component
<script>
import { getTicker } from 'svelte-pixi'
const { ticker } = getTicker()
</script>
Name | Type | Description |
---|---|---|
ticker | PIXI.Ticker | The PIXI.Ticker instance |
Returns the context of the parent Ticker component
<script>
import { getTicker } from 'svelte-pixi'
const { ticker } = getTicker()
</script>
Name | Type | Description |
---|---|---|
ticker | PIXI.Ticker | The PIXI.Ticker instance |