playcanvas
Version:
Open-source WebGL/WebGPU 3D engine for the web
13 lines (12 loc) • 294 B
TypeScript
/**
* A {@link SpriteComponent} that displays a single frame from a sprite asset.
*
* @category Graphics
*/
export const SPRITETYPE_SIMPLE: "simple";
/**
* A {@link SpriteComponent} that renders sprite animations.
*
* @category Graphics
*/
export const SPRITETYPE_ANIMATED: "animated";