Method GetIntermediateState
GetIntermediateState(ICinemachineCamera, ICinemachineCamera, float)
Interpolate a camera state between the two cameras being blended.
Declaration
CameraState GetIntermediateState(ICinemachineCamera CamA, ICinemachineCamera CamB, float t)
Parameters
Type | Name | Description |
---|---|---|
ICinemachineCamera | CamA | The first camera |
ICinemachineCamera | CamB | The second camera |
float | t | Range 0...1 where 0 is CamA state and 1 is CamB state |
Returns
Type | Description |
---|---|
CameraState | The interpolated state. |