ModelSettings class final

The model-side options, passed to every .f3d written.

Constructors

ModelSettings({TextureFamily textures = TextureFamily.auto, bool mips = true, List<double> lods = const <double>[], bool impostor = false, int? chunks})
The settings of a plain conversion: auto textures with mips, and no levels of detail, impostor or chunks unless given.
const

Properties

chunks → int?
--chunks: the triangle count above which a static mesh is split into clusters; null splits nothing.
final
hashCode → int
The hash code for this object.
no setteroverride
impostor → bool
--impostor: whether each chain ends in a baked octahedral impostor.
final
lods → List<double>
--lods: the triangle ratios of the levels of detail each drawing node gains, each strictly between nought and one; empty for none.
final
mips → bool
Whether each compressed image carries its mip chain; --no-mips turns it off.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textures → TextureFamily
--textures: the compression family the images inside a .f3d target.
final

Methods

copyWith({TextureFamily? textures, bool? mips, List<double>? lods, bool? impostor, int? chunks, bool clearChunks = false}) → ModelSettings
A copy with the given fields replaced. A clear… flag resets that nullable field to null, which passing null cannot say.
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.
override