Class OBJExport
Hierarchy
- OBJExport
Index
Methods
Static MTLSearch playground for MTL
-
Exports the material(s) of a mesh in .MTL file format (text)
Parameters
-
mesh: Mesh
defines the mesh to extract the material from
Returns string
the mtl content
-
Static OBJSearch playground for OBJ
-
Exports the geometry of a Mesh array in .OBJ file format (text)
Parameters
-
mesh: Mesh[]
defines the list of meshes to serialize
-
Optional materials: boolean
defines if materials should be exported
-
Optional matlibname: string
defines the name of the associated mtl file
-
Optional globalposition: boolean
defines if the exported positions are globals or local to the exported mesh
Returns string
the OBJ content
-
Class for generating OBJ data from a Babylon scene.