Camera
¶
文档版本:1.21.60.21
Camera
类。script_api.minecraft/server.camera.description
方法¶
clear
script_api.minecraft/server.camera.clear.description
- 返回值:
void
- script_api.minecraft/server.camera.clear.return
fade
script_api.minecraft/server.camera.fade.description
fadeCameraOptions
?:CameraFadeOptions
=null
- script_api.minecraft/server.camera.fade.fadecameraoptions.description
- 返回值:
void
- script_api.minecraft/server.camera.fade.return
setCamera
script_api.minecraft/server.camera.setcamera.description
setCamera(cameraPreset: string, setOptions?: CameraDefaultOptions | CameraFixedBoomOptions | CameraSetFacingOptions | CameraSetLocationOptions | CameraSetPosOptions | CameraSetRotOptions | CameraTargetOptions): void
cameraPreset
:string
- script_api.minecraft/server.camera.setcamera.camerapreset.description
setOptions
?:CameraDefaultOptions
|CameraFixedBoomOptions
|CameraSetFacingOptions
|CameraSetLocationOptions
|CameraSetPosOptions
|CameraSetRotOptions
|CameraTargetOptions
=null
- script_api.minecraft/server.camera.setcamera.setoptions.description
- 返回值:
void
- script_api.minecraft/server.camera.setcamera.return