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