BMF3DModelOption constructor
BMF3DModelOption({
- required String modelPath,
- required String modelName,
- 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,
3d模型option构造方法
Implementation
BMF3DModelOption(
{required this.modelPath,
required this.modelName,
this.scale: 1,
this.zoomFixed: false,
this.rotateX: 0,
this.rotateY: 0,
this.rotateZ: 0,
this.offsetX: 0,
this.offsetY: 0,
this.offsetZ: 0,
this.type: BMF3DModelType.BMF3DModelTypeObj,
this.animationIsEnable: false,
this.animationIndex: 0,
this.animationRepeatCount: 0,
this.animationSpeed: 1});