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, mfloat), which has protection against multiple calls per frame.
선언
void UpdateCameraState(Vector3 worldUp, float deltaTime)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Vector3 | worldUp | Default world Up, set by the CinemachineBrain |
float | deltaTime | Delta time for time-based effects (ignore if less than 0) |