BMFTrace3DModelOption constructor

BMFTrace3DModelOption({
  1. required String modelPath,
  2. required String modelName,
  3. BMFTraceOverlay3DModelYawAxis? yawAxis,
  4. double scale = 1,
  5. bool zoomFixed = false,
  6. double rotateX = 0,
  7. double rotateY = 0,
  8. double rotateZ = 0,
  9. double offsetX = 0,
  10. double offsetY = 0,
  11. double offsetZ = 0,
  12. BMF3DModelType type = BMF3DModelType.BMF3DModelTypeObj,
  13. bool animationIsEnable = false,
  14. int animationIndex = 0,
  15. int animationRepeatCount = 0,
  16. double animationSpeed = 1,
})

Implementation

BMFTrace3DModelOption(
    {required String modelPath,
      required String modelName,
      this.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})
    : super(
    modelPath: modelPath,
    modelName: modelName,
    scale: scale,
    zoomFixed: zoomFixed,
    rotateX: rotateX,
    rotateY: rotateY,
    rotateZ: rotateZ,
    offsetX: offsetX,
    offsetY: offsetY,
    offsetZ: offsetZ,
    type: type,
    animationIsEnable: animationIsEnable,
    animationIndex: animationIndex,
    animationRepeatCount: animationRepeatCount,
    animationSpeed: animationSpeed);