BMF3DModelOption class Null safety

3d模型option

Constructors

BMF3DModelOption({required String modelPath, required String modelName, double? scale, bool? zoomFixed, double? rotateX, double? rotateY, double? rotateZ, double? offsetX, double? offsetY, double? offsetZ, BMF3DModelType? type})
3d模型option构造方法
BMF3DModelOption.fromMap(Map map)
map =>> BMF3DModelOption

Properties

hashCode → int
The hash code for this object.
read-only, inherited
modelName ↔ String
模型名
read / write
modelPath ↔ String
模型文件路径
read / write
offsetX ↔ double?
偏移像素,默认为0.0
read / write
offsetY ↔ double?
read / write
offsetZ ↔ double?
read / write
rotateX ↔ double?
旋转角度,取值范围为【0.0f, 360.0f】,默认为0.0
read / write
rotateY ↔ double?
read / write
rotateZ ↔ double?
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
scale ↔ double?
缩放比例,默认1.0
read / write
type BMF3DModelType?
3D模型文件格式,默认BMF3DModelTypeObj
read / write
zoomFixed ↔ bool?
scale不随地图缩放而变化,默认为NO
read / write

Methods

fromMap(Map map) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toMap() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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