F3dDecoder class final

.f3d through the same ModelDecoder boundary an application's own formats come through, so every built-in reader is one: see builtInModelDecoder.

Inheritance

Constructors

F3dDecoder()
The decoder; it holds no state, so one const instance serves.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
readsRanges → bool
Whether this decoder reads its file in ranges rather than being handed it whole: a pager through a big file — splats, a point cloud's octree, a tiled terrain — that wants its header first and the rest as it is drawn.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(ModelDecodeContext context) → Future<ModelDocument>
Synchronous underneath: the header is read and every array becomes a view over bytes when it is asked for. A material's lighting model is read against the request's ModelLoadRequest.lightingModels.
override
handles(ModelProbe probe) → bool
Whether this decoder wants the file ModelProbe names.
override
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