MeshAttributeData class Geometry
One named per-vertex attribute stream carried by a MeshData, matching a
custom material's attributes entry (see Geometry.setCustomAttribute).
data is a tightly packed run of components-component float vectors, one per vertex.
Constructors
- MeshAttributeData(Float32List data, {required int components})
Properties
- components → int
-
Components per vertex, 1 through 4.
final
- data → Float32List
-
The packed attribute values,
components * vertexCountfloats.final - hashCode → int
-
The hash code for this object.
no setterinherited
- 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