Change the camera angle||doc135638

September 20, 2022

Format

 Blockman:changeCameraView(pos, yaw, pitch, distance, smooth)
  • The class to which the function belongs:Blockman

Description

Change the angle of view of the camera.


Parameters

Variable name type Description
pos Vector3 Camera observation point position
yaw float yaw angle
pitch float Pitch angle
distance float distance from observation point
smooth float smooth timeframe


Code Samples

Blockman.Instance():changeCameraView( { x = 0, y = 0, z = 0 }, 60, 0, 5, 20)