TerrainOptions class

Constructors

TerrainOptions({Function? after, Easing easing = Easing.linear, dynamic heightmap, Material? material, double? maxHeight, double? minHeight, TerrainType optimization = TerrainType.none, double frequency = 2.5, int steps = 1, bool stretch = true, bool turbulent = false, int xSegments = 63, double xSize = 1024, int ySegments = 63, double ySize = 1024, List<Vector2> worleyDistribution(int, int, [int?])?, double worleyDistanceTransformation(num)?, DistanceToType distanceType = DistanceToType.squared, int? worleyPoints})

Properties

after Function?
getter/setter pair
distanceType DistanceToType
getter/setter pair
easing Easing
getter/setter pair
frequency double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heightmap ↔ dynamic
getter/setter pair
keys List<String>
getter/setter pair
material ↔ Material?
getter/setter pair
maxHeight double?
getter/setter pair
minHeight double?
getter/setter pair
optimization TerrainType
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
steps int
getter/setter pair
stretch bool
getter/setter pair
turbulent bool
getter/setter pair
worleyDistanceTransformation double Function(num)?
getter/setter pair
worleyDistribution List<Vector2> Function(int, int, [int?])?
getter/setter pair
worleyPoints int?
getter/setter pair
xSegments int
getter/setter pair
xSize double
getter/setter pair
ySegments int
getter/setter pair
ySize double
getter/setter pair

Methods

containsKey(String key) bool
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
operator [](String index) → dynamic
operator []=(String index, dynamic value) → void