DracoAttribute class final
One decoded attribute.
Constructors
- DracoAttribute({required int type, required int components, required Float32List values, Int32List? integers})
-
const
Properties
- components → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- integers → Int32List?
-
The same values as the integers they were stored as, when they were —
joint indices, or a colour kept as bytes. Null for anything quantised.
Signed 32-bit, so an unsigned value past 2^31 reads negative here and
correctly in values' doubles only up to float precision; nothing a glTF
vertex attribute holds is that wide.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → int
-
Draco's own attribute type: 0 position, 1 normal, 2 colour, 3 texcoord,
4 generic.
final
- values → Float32List
-
count * componentsfloats, one run per point: dequantised where the attribute was quantised, converted where it was stored as integers.final
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