实验性
实验性
清除指定玩家的活动摄像机。使指定玩家结束任何正在进行的摄像机视角,包括任何平滑的摄像机运动,并返回到正常视角。
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。
实验性
可选
fadeCameraOptions: CameraFadeOptions有关摄像机淡入淡出操作的附加选项。
Additional options around camera fade operations.
开始应用一个摄像机的淡入淡出过渡效果。淡入淡出过渡效果是一种全屏颜色的渐入、保持、然后渐出的效果。
Begins a camera fade transition. A fade transition is a full-screen color that fades-in, holds, and then fades-out.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
实验性
在 JSON 中定义的摄像机预设文件的标识符。
Identifier of a camera preset file defined within JSON.
可选
setOptions: 摄像机的附加选项。
Additional options for the camera.
为指定玩家设置当前活动摄像机。
Sets the current active camera for the specified player.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
包含与指定玩家的活动摄像机相关的方法。
Contains methods relating to the active camera for the specified player.