ModelLoadRequest class final

Everything a decode needs, in one sendable object.

Constructors

ModelLoadRequest({required AssetSource source, ModelFormat format = ModelFormat.auto, VertexLayout layout = VertexLayout.standard, ObjNormals objNormals = ObjNormals.smooth, StlNormals stlNormals = StlNormals.fromFile, List<ModelDecoder> decoders = const <ModelDecoder>[]})
const

Properties

decoders → List<ModelDecoder>
An application's own decoders, tried in order before the built-in ones.
final
format → ModelFormat
final
hashCode → int
The hash code for this object.
no setterinherited
layout → VertexLayout
final
objNormals → ObjNormals
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → AssetSource
final
stlNormals → StlNormals
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