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
-
read / write
- indices ↔ Uint16List
-
read / write
- length → int
-
final
- stride → int
-
final
- triangleVertexCount → int
-
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
attribsAreCompatible(
MeshGeometry mesh) → bool -
getAttrib(
String name) → VertexAttrib -
getViewForAttrib(
String name) → VectorList< Vector> -
toJson(
) → Map< String, Object> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Methods
-
attribFromJson(
String name, Map< String, Object> json) → VertexAttrib