Method SetCameraFacing
SetCameraFacing(float, float, float, CameraTransitionType)
Changes the direction the player's camera is facing.
public Task SetCameraFacing(float direction, float pitch = -1, float distance = -1, CameraTransitionType transitionType = CameraTransitionType.Snap)
Parameters
directionfloatHorizontal angle from East in degrees. -1 to leave the angle unmodified.
pitchfloatVertical angle of the camera in degrees. -1 to leave the angle unmodified.
distancefloatDistance (zoom) of the camera. -1 to leave the distance unmodified.
transitionTypeCameraTransitionTypeThe transition to use for moving the camera.