Interface CameraTransitionHelper

Hierarchy

  • CameraTransitionHelper

Properties

Properties

Speed: ((speed: number) => undefined | {
    $case: "time";
    time: number;
} | {
    $case: "speed";
    speed: number;
})

Type declaration

    • (speed: number): undefined | {
          $case: "time";
          time: number;
      } | {
          $case: "speed";
          speed: number;
      }
    • Returns

      a CameraTransition speed

      Parameters

      • speed: number

      Returns undefined | {
          $case: "time";
          time: number;
      } | {
          $case: "speed";
          speed: number;
      }

Time: ((time: number) => undefined | {
    $case: "time";
    time: number;
} | {
    $case: "speed";
    speed: number;
})

Type declaration

    • (time: number): undefined | {
          $case: "time";
          time: number;
      } | {
          $case: "speed";
          speed: number;
      }
    • Returns

      a CameraTransition time

      Parameters

      • time: number

      Returns undefined | {
          $case: "time";
          time: number;
      } | {
          $case: "speed";
          speed: number;
      }