Documentation
›
API Reference
›
Object
›
Entity
›
Model
›
Sprite
Create
Lua
C++
This function creates and returns a new sprite.
Syntax
static Sprite*
Create
(Entity* parent = NULL)
Parameters
parent:
an entity to parent the new sprite to.
Returns
Returns a new sprite.