ObjModelImport

Undocumented in source.

Members

Aliases

FaceIndex
alias FaceIndex = int[3]
Undocumented in source.

Functions

addTriangle
bool addTriangle(FaceIndex v1, FaceIndex v2, FaceIndex v3)
Undocumented in source. Be warned that the author may not have intended to support it.
createMeshIfNotExist
void createMeshIfNotExist()
Undocumented in source. Be warned that the author may not have intended to support it.
normalForIndex
vec3 normalForIndex(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
parse
bool parse(string source)
Undocumented in source. Be warned that the author may not have intended to support it.
parseFaceLine
bool parseFaceLine(Token[] tokens)
Undocumented in source. Be warned that the author may not have intended to support it.
parseFloatList
float[] parseFloatList(Token[] tokens, int maxItems, float padding)
Undocumented in source. Be warned that the author may not have intended to support it.
parseLine
bool parseLine(Token[] tokens)
Undocumented in source. Be warned that the author may not have intended to support it.
parseParameterSpaceLine
bool parseParameterSpaceLine(Token[] tokens)
Undocumented in source. Be warned that the author may not have intended to support it.
parseVertexLine
bool parseVertexLine(Token[] tokens)
Undocumented in source. Be warned that the author may not have intended to support it.
parseVertexNormalsLine
bool parseVertexNormalsLine(Token[] tokens)
Undocumented in source. Be warned that the author may not have intended to support it.
parseVertexTextureLine
bool parseVertexTextureLine(Token[] tokens)
Undocumented in source. Be warned that the author may not have intended to support it.
txForIndex
vec2 txForIndex(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
vertexForIndex
vec3 vertexForIndex(int index)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

parseFaceIndex
bool parseFaceIndex(Token[] tokens, FaceIndex data)
Undocumented in source. Be warned that the author may not have intended to support it.
parseIndex
bool parseIndex(Token[] tokens, int data)
Undocumented in source. Be warned that the author may not have intended to support it.
skip
bool skip(Token[] tokens, TokenType type)
Undocumented in source. Be warned that the author may not have intended to support it.
skipToken
bool skipToken(Token[] tokens)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_meshHasTexture
bool _meshHasTexture;
Undocumented in source.
mesh
MeshRef mesh;
Undocumented in source.

Meta