MeshGeometry class
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
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- indices ↔ Uint16List?
-
getter/setter pair
- length → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stride → int
-
final
- triangleVertexCount → int
-
no setter
Methods
-
attribsAreCompatible(
MeshGeometry mesh) → bool -
getAttrib(
String name) → VertexAttrib? -
getViewForAttrib(
String name) → VectorList< Vector> ? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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