renderRawXY(displayObject, x, y, clear)
This function will draw the display object to the RenderTexture at the given coordinates.
When the display object is drawn it doesn't take into account scale, rotation or translation.
If you need those then use RenderTexture.renderXY instead.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
displayObject | Phaser.Sprite | Phaser.Image | Phaser.Text | Phaser.BitmapText | Phaser.Group | The display object to render to this texture. | ||
x | number | The x position to render the object at. | ||
y | number | The y position to render the object at. | ||
clear | boolean | <optional> | false | If true the texture will be cleared before the display object is drawn. |
- Inherited From
- Source code: gameobjects/RenderTexture.js (Line 89)
Please login to continue.