|
@@ -21,7 +21,7 @@ declare type Ray = import("../Culling/ray").Ray;
|
|
declare const Reflect: any;
|
|
declare const Reflect: any;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * Defines the minimum interface to fullfil in order to be a sprite manager.
|
|
|
|
|
|
+ * Defines the minimum interface to fulfill in order to be a sprite manager.
|
|
*/
|
|
*/
|
|
export interface ISpriteManager extends IDisposable {
|
|
export interface ISpriteManager extends IDisposable {
|
|
|
|
|
|
@@ -228,7 +228,7 @@ export class SpriteManager implements ISpriteManager {
|
|
* @param cellSize defines the size of a sprite cell
|
|
* @param cellSize defines the size of a sprite cell
|
|
* @param scene defines the hosting scene
|
|
* @param scene defines the hosting scene
|
|
* @param epsilon defines the epsilon value to align texture (0.01 by default)
|
|
* @param epsilon defines the epsilon value to align texture (0.01 by default)
|
|
- * @param samplingMode defines the smapling mode to use with spritesheet
|
|
|
|
|
|
+ * @param samplingMode defines the sampling mode to use with spritesheet
|
|
* @param fromPacked set to false; do not alter
|
|
* @param fromPacked set to false; do not alter
|
|
* @param spriteJSON null otherwise a JSON object defining sprite sheet data; do not alter
|
|
* @param spriteJSON null otherwise a JSON object defining sprite sheet data; do not alter
|
|
*/
|
|
*/
|
|
@@ -618,7 +618,7 @@ export class SpriteManager implements ISpriteManager {
|
|
/**
|
|
/**
|
|
* Parses a JSON object to create a new sprite manager.
|
|
* Parses a JSON object to create a new sprite manager.
|
|
* @param parsedManager The JSON object to parse
|
|
* @param parsedManager The JSON object to parse
|
|
- * @param scene The scene to create the sprite managerin
|
|
|
|
|
|
+ * @param scene The scene to create the sprite manager
|
|
* @param rootUrl The root url to use to load external dependencies like texture
|
|
* @param rootUrl The root url to use to load external dependencies like texture
|
|
* @returns the new sprite manager
|
|
* @returns the new sprite manager
|
|
*/
|
|
*/
|