PropBatch class final

Copies of one look the map wears where the simulation has nothing: trees, say, or boulders.

Under the fog like everything else. A tree is not a secret, but one standing out of a black square tells a side the shape of ground it has not been to; so a copy appears the first time its spot is explored and stays, the same rule a building follows.

Constructors

PropBatch({required MeshLook look, required List<Matrix4> placements, String name = 'props'})
placements are full transforms, uniform scale only — a batch scales its copies uniformly.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
look → MeshLook
What every copy looks like.
final
name → String
The batch's node name.
final
placements → List<Matrix4>
Where each copy stands, turned and scaled.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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