Bullet#setFrame()

setFrame(frame)

Sets the texture frame the Game Object uses for rendering.

This is primarily an internal method used by loadTexture, but is exposed for the use of plugins and custom classes.

Parameters
Name Type Description
frame Phaser.Frame

The Frame to be used by the texture.

Inherited From
Source code: gameobjects/components/LoadTexture.js (Line 155)
doc_phaser
2017-02-14 10:38:40
Comments
Leave a Comment

Please login to continue.