T_49_META_API_10065

Camera
Client Side
Both Mobile and PC

Switching the target player's camera to the target camera

Declaration

func SwitchNewCameraForClinet(basicCamera entity<CustomCamera>, transitionType CameraTransitionType, transitionTime float)
go

Parameters

Input

Name Type Description
Camera BasicCamera target camera
Transition Type CameraTransitionType Switching method, you can choose to keep the original logic or progressive
Transition Time (ms) Float Switching time is the time to switch cameras in progressive mode