类 Camera实验性

Contains methods relating to the active camera for the specified player.

方法

  • 实验性

    返回 void

    Clears the active camera for the specified player. Causes the specified players to end any in-progress camera perspectives, including any eased camera motions, and return to their normal perspective.

    无法在只读模式下调用此函数,详见 WorldBeforeEvents

    This function can throw errors.

  • 实验性

    参数

    • 可选fadeCameraOptions: CameraFadeOptions

      Additional options around camera fade operations.

    返回 void

    Begins a camera fade transition. A fade transition is a full-screen color that fades-in, holds, and then fades-out.

    无法在只读模式下调用此函数,详见 WorldBeforeEvents

    This function can throw errors.