OBJExporter class
An exporter for the OBJ file format.
OBJExporter is not able to export material data into MTL files so only geometry data are supported.
// Instantiate an exporter
final exporter = OBJExporter();
// Parse the input and generate the OBJ output
final data = exporter.parseMesh( scene );
downloadFile( data );
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
exportMesh(
String fileName, Mesh mesh, [String? path]) → void -
exportScene(
String fileName, Scene scene, [String? path]) → void -
parse(
Scene object) → String -
parseMesh(
Mesh mesh) → String