PLYExporter class
An exporter for PLY
.
PLY (Polygon or Stanford Triangle Format) is a file format for efficient delivery and loading of simple, static 3D content in a dense format. Both binary and ascii formats are supported. PLY can store vertex positions, colors, normals and uv coordinates. No textures or texture references are saved.
// Instantiate an exporter
final exporter = PLYExporter();
// Parse the input and generate the ply output
final data = exporter.parseMesh( scene, options );
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, [PLYOptions? options, String? path]) → void -
exportScene(
String fileName, Scene scene, [PLYOptions? options, String? path]) → void -
parse(
Scene scene, [PLYOptions? options]) → List< int> -
parseMesh(
Mesh mesh, [PLYOptions? options]) → List< int>