BMF3DModelOption constructor

BMF3DModelOption(
  1. {required String modelPath,
  2. required String modelName,
  3. double? scale = 1,
  4. bool? zoomFixed = false,
  5. double? rotateX = 0,
  6. double? rotateY = 0,
  7. double? rotateZ = 0,
  8. double? offsetX = 0,
  9. double? offsetY = 0,
  10. double? offsetZ = 0,
  11. BMF3DModelType? type = BMF3DModelType.BMF3DModelTypeObj,
  12. bool? animationIsEnable = false,
  13. int? animationIndex = 0,
  14. int? animationRepeatCount = 0,
  15. 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});