RoadMeshSettings class final

How finely the road is cut into rings.

Constructors

RoadMeshSettings({double sagitta = 0.04, double minStep = 1.5, double maxStep = 8.0, double metresPerTile = 9.0, double barrierHeight = 1.1})
const

Properties

barrierHeight → double
How tall a barrier stands above the road it guards.
final
hashCode → int
The hash code for this object.
no setterinherited
maxStep → double
final
metresPerTile → double
How many metres of road one repeat of the texture covers.
final
minStep → double
The shortest and longest a segment may be whatever the maths says.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sagitta → double
How far the middle of a straight edge may sit from the curve it stands in for, in metres.
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