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