UNPKG

@animech-public/playcanvas

Version:
18 lines (15 loc) 381 B
/** * 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 };