OverTheShoulderCameraDelegate constructor

OverTheShoulderCameraDelegate(
  1. ThermionViewer viewer,
  2. ThermionEntity player,
  3. Camera camera, {
  4. double rotationSensitivity = 0.001,
  5. double movementSensitivity = 0.1,
  6. double zoomSensitivity = 0.1,
  7. double panSensitivity = 0.1,
  8. double? clampY,
  9. ThermionEntity? entity,
  10. void onUpdate(
    1. Matrix4 transform
    )?,
})

Implementation

OverTheShoulderCameraDelegate(this.viewer, this.player, this.camera,
    {this.rotationSensitivity = 0.001,
    this.movementSensitivity = 0.1,
    this.zoomSensitivity = 0.1,
    this.panSensitivity = 0.1,
    this.clampY,
    ThermionEntity? entity,
    this.onUpdate}) {}