Flix3DMesh class

An indexed triangle mesh with optional vertex normals and morph targets.

Constructors

Flix3DMesh({required String name, required List<Vector3> positions, required List<int> indices, List<Vector3> normals = const <Vector3>[], Flix3DMaterial material = const Flix3DMaterial(), List<Flix3DMorphTarget> morphTargets = const <Flix3DMorphTarget>[]})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
indices → List<int>
final
material → Flix3DMaterial
final
morphTargets → List<Flix3DMorphTarget>
final
name → String
final
normals → List<Vector3>
final
positions → List<Vector3>
final
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