MeshGeometry class Null safety

Constructors

MeshGeometry(int length, List<VertexAttrib> attributes)
factory
MeshGeometry.combine(List<MeshGeometry> meshes)
factory
MeshGeometry.copy(MeshGeometry mesh)
MeshGeometry.fromJson(Map<String, Object> json)
factory
MeshGeometry.resetAttribs(MeshGeometry inputMesh, List<VertexAttrib> attributes)
factory

Properties

attribs List<VertexAttrib>
final
buffer Float32List
late, final
hashCode int
The hash code for this object. [...]
read-only, inherited
indices Uint16List?
read / write
length int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stride int
final
triangleVertexCount int
read-only

Methods

attribsAreCompatible(MeshGeometry mesh) bool
getAttrib(String name) VertexAttrib?
getViewForAttrib(String name) VectorList<Vector>?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

attribFromJson(String name, Map<String, Object> json) VertexAttrib