BMFTrace3DModelOption class

Inheritance

Constructors

BMFTrace3DModelOption({required String modelPath, required String modelName, BMFTraceOverlay3DModelYawAxis? yawAxis, double scale = 1, bool zoomFixed = false, double rotateX = 0, double rotateY = 0, double rotateZ = 0, double offsetX = 0, double offsetY = 0, double offsetZ = 0, BMF3DModelType type = BMF3DModelType.BMF3DModelTypeObj, bool animationIsEnable = false, int animationIndex = 0, int animationRepeatCount = 0, double animationSpeed = 1})
BMFTrace3DModelOption.fromMap(Map map)
map => BMFText

Properties

animationIndex ↔ int?
当前模型动画索引值,since 3.5.0
read / writeinherited
animationIsEnable ↔ bool?
以下只支持带有animations标签的GLTF模型 模型动画是否可用,默认为false:添加后不执行动画,值为true时添加后立即按照配置参数执行动画,since 3.5.0
read / writeinherited
animationRepeatCount ↔ int?
模型动画重复执行次数,默认0:动画将一直执行动画,since 3.5.0
read / writeinherited
animationSpeed ↔ double?
模型动画倍速,默认:1.0,since 3.5.0
read / writeinherited
hashCode → int
The hash code for this object.
read-onlyinherited
modelName ↔ String
模型名
read / writeinherited
modelPath ↔ String
模型文件路径
read / writeinherited
offsetX ↔ double?
偏移像素,默认为0.0
read / writeinherited
offsetY ↔ double?
read / writeinherited
offsetZ ↔ double?
read / writeinherited
rotateX ↔ double?
旋转角度,取值范围为【0.0f, 360.0f】,默认为0.0
read / writeinherited
rotateY ↔ double?
read / writeinherited
rotateZ ↔ double?
read / writeinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
scale ↔ double?
缩放比例,默认1.0
read / writeinherited
type BMF3DModelType?
3D模型文件格式,默认BMF3DModelTypeObj
read / writeinherited
yawAxis BMFTraceOverlay3DModelYawAxis?
轨迹动画中模型的偏航轴,即模型与右手坐标系Z轴重合的轴
read / write
zoomFixed ↔ bool?
scale不随地图缩放而变化,默认为false
read / writeinherited

Methods

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

Operators

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