PlantSpec class
Constructors
-
PlantSpec({required String spriteAsset, required int count, required double width, required double height, double zOffset = 0.0, int billboard = 1, double flipProbability = 0.5, int layers = 1, double widthVariation = 0.0, double heightVariation = 0.0, double planeSize = 0.0, double pitchVariation = 0.0, double edgeFadeWidth = 0.0, double exclusionOffset = 0.01, bool useFootprintExclusion = false, List<
List< ? excludeSquares, bool scrolling = true})double> > -
const
Properties
- billboard → int
-
final
- count → int
-
final
- edgeFadeWidth → double
-
final
-
excludeSquares
→ List<
List< ?double> > -
final
- exclusionOffset → double
-
final
- flipProbability → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
final
- heightVariation → double
-
final
- layers → int
-
final
- pitchVariation → double
-
final
- planeSize → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrolling → bool
-
final
- spriteAsset → String
-
final
- useFootprintExclusion → bool
-
final
- width → double
-
final
- widthVariation → double
-
final
- zOffset → double
-
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