Function CameraSetupApplyWithZ

  • Applies the camerasetup with a custom z-offset, altering the current camera's fields to match those of the camera setup. The z-offset input will override the z-offset specified by the camerasetup through CameraSetupSetField.

    Parameters

    • whichSetup: HandleHolder<"camerasetup">

      The camerasetup to apply.

    • zDestOffset: number

      The camera's z-offset will gradually change to this value over the specified duration.

    Returns void

    Bug

    If a player pauses the game after the camerasetup has been applied, the z-offset of the game camera will change to the z-offset of the camerasetup for that player.

Generated using TypeDoc