Vegetation class

Inheritance

Constructors

Vegetation()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createGrass(dynamic camera, {dynamic grassShadow = 0.5, dynamic boundaryWidth = 200, dynamic boundaryLength = 200, dynamic edgeFalloff = 20, dynamic planeSize = 30, dynamic layerFadeAngle = 0.25, dynamic showHeightGrid = false, int heightMapResolution = _kDefaultHeightMapResolution, dynamic heightGridDivisions = 20, dynamic heightGridColor = 0xff6a00, dynamic heightGridOffset = 0.002, int? seed, List<List<double>>? excludeSquares, List<List<double>>? heightPoints, List<PlantSpec> plants = const [], dynamic worldposx, dynamic worldposy, dynamic windSpeed = 0.0, SurfaceTextureSpec? surfaceTexture, Color? color}) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
update(dynamic frameTime, dynamic elapsedTime) → dynamic
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

textures ↔ Map
getter/setter pair

Static Methods

init() → void