@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
18 lines (15 loc) • 381 B
JavaScript
/**
* A {@link SpriteComponent} that displays a single frame from a sprite asset.
*
* @type {string}
* @category Graphics
*/
const SPRITETYPE_SIMPLE = 'simple';
/**
* A {@link SpriteComponent} that renders sprite animations.
*
* @type {string}
* @category Graphics
*/
const SPRITETYPE_ANIMATED = 'animated';
export { SPRITETYPE_ANIMATED, SPRITETYPE_SIMPLE };