Class: AtlasParser
Hierarchy
ParserBase
↳
AtlasParser
Constructors
Properties
Methods
Constructors
constructor
• new AtlasParser(): AtlasParser
Returns
Inherited from
ParserBase.constructor
Properties
format
▪ Static
format: ParserFormat
= ParserFormat.TEXT
Overrides
ParserBase.format
Defined in
src/loader/parser/AtlasParser.ts:9
baseUrl
• baseUrl: string
Inherited from
ParserBase.baseUrl
Defined in
src/loader/parser/ParserBase.ts:11
initUrl
• initUrl: string
Inherited from
ParserBase.initUrl
Defined in
src/loader/parser/ParserBase.ts:12
loaderFunctions
• Optional
loaderFunctions: LoaderFunctions
Inherited from
ParserBase.loaderFunctions
Defined in
src/loader/parser/ParserBase.ts:13
userData
• Optional
userData: any
Inherited from
ParserBase.userData
Defined in
src/loader/parser/ParserBase.ts:14
data
• data: any
Inherited from
ParserBase.data
Defined in
src/loader/parser/ParserBase.ts:15
Methods
parseString
▸ parseString(data
): Promise
<void
>
Parameters
Name | Type |
---|---|
data | string |
Returns
Promise
<void
>
Overrides
ParserBase.parseString
Defined in
src/loader/parser/AtlasParser.ts:14
verification
▸ verification(): boolean
Verify parsing validity
Returns
boolean
Overrides
ParserBase.verification
Defined in
src/loader/parser/AtlasParser.ts:28
parseJson
▸ parseJson(obj
): void
Parameters
Name | Type |
---|---|
obj | object |
Returns
void
Inherited from
ParserBase.parseJson
Defined in
src/loader/parser/ParserBase.ts:19
parseBuffer
▸ parseBuffer(buffer
): void
Parameters
Name | Type |
---|---|
buffer | ArrayBuffer |
Returns
void
Inherited from
ParserBase.parseBuffer
Defined in
src/loader/parser/ParserBase.ts:21
parseTexture
▸ parseTexture(buffer
): Texture
Parameters
Name | Type |
---|---|
buffer | ArrayBuffer |
Returns
Inherited from
ParserBase.parseTexture
Defined in
src/loader/parser/ParserBase.ts:23
parse
▸ parse(data
): void
Parameters
Name | Type |
---|---|
data | any |
Returns
void
Inherited from
ParserBase.parse