OBJParseTask
Extends: ModelParseTask
Parses Wavefront .obj content a slice at a time - see BGE.AssetLoader.load3dModel(). model is set once step() returns true. Same results as parseOBJContent(), which runs one of these to completion.
Properties
mtllibName(string) — The material library the file names (mtllib), or "" - set while parsing
Constructor
new OBJParseTask(
content: string,
baseDir?: string,
): OBJParseTaskParameters
content(string)baseDir(string, optional, default: "\"\"")
Instance Methods
step(budgetMs: integer): boolean
Parameters
budgetMs(integer)
Returns
boolean
getProgress(): float
Returns
float