Method UpdateCameraState
UpdateCameraState(Vector3, float)
Update the camera's state. The implementation must guarantee against multiple calls per frame, and should use CinemachineCore.UpdateVirtualCamera(ICinemachineCamera, Vector3, float), which has protection against multiple calls per frame.
Declaration
public void UpdateCameraState(Vector3 up, float deltaTime)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | up | |
float | deltaTime | Delta time for time-based effects (ignore if less than 0) |