BMFParticleEffectOption class
Constructors
-
BMFParticleEffectOption({BMFCoordinate? location, List<
String> ? images = const []}) - BMFParticleEffectOption.fromMap(Map map)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
images
↔ List<
String> ? -
自定义粒子图片列表,图片列表需按如下要求顺序传入:
不同类型粒子效果图片定义列表及参考图片尺寸(2倍图)
Snow:
雪点图片16*16,雪花图片32*32RainStorm:雨点图片4*32,乌云图片128*64Smog:雾霾图片32*32Storm:沙尘图片32*32,沙粒图片4*4Fireworks:烟花图片32*32Flower:花瓣图片32*32getter/setter pair - location ↔ BMFCoordinate?
-
点发射器发射位置,目前仅支持烟花粒子,默认为无效值,发射位置始终为地图中心点
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromMap(
Map map) → dynamic - map -> dynamic
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> - model -> map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited