MeshLook class final

A mesh and the material it is drawn in: one way a unit, a deposit or a prop looks.

The mesh is expected grounded — its local origin where it touches the ground, not its middle — and facing +Z, the direction a unit turns towards when it walks.

Constructors

MeshLook(DeviceMesh mesh, RenderMaterial material)
Pairs mesh with material.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
material → RenderMaterial
What it is drawn in.
final
mesh → DeviceMesh
What is drawn.
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