Mesh class

A set of primitives to be rendered.

Its global transform is defined by a node that references it.

Inheritance

Constructors

Mesh.new({required GltfRoot root, required List<Primitive> primitives, required List<double>? weights})
Mesh.parse(GltfRoot root, Map<String, Object?> map)

Properties

hashCode int
The hash code for this object.
no setterinherited
primitives List<Primitive>
An array of primitives, each defining geometry to be rendered.
final
root GltfRoot
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weights List<double>?
Array of weights to be applied to the morph targets. The number of array elements MUST match the number of morph targets
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFlameMesh([Matrix4? transform]) → Mesh
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited