RenderScene class final

Everything the renderer draws in one view.

Constructors

RenderScene()

Properties

batches → List<InstanceBatch>
Many copies of a mesh each, drawn in a call each: grass, tiles.
final
environment → Environment
Sky and ambient.
final
hashCode → int
The hash code for this object.
no setterinherited
instances → List<MeshInstance>
Mesh instances.
final
lights → List<PunctualLight>
Point and spot lights (the 8 that matter most to a frame are used).
final
overlays → List<OverlayDraw>
Lines drawn over everything else: a selection's highlight.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sun → DirectionalLight
The sun.
final

Methods

addModel(GpuModel model, Matrix4 worldFromModel, {bool correctAxes = true, PosedModel? posed}) → List<MeshInstance>
Adds an instance for every primitive of every mesh node of model, placed at worldFromModel (engine world from the model's root). glTF axes are converted to the engine's unless correctAxes is false.
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