Method Lerp
Lerp(CameraState, CameraState, float)
Intelligently blend the contents of two states.
선언
public static CameraState Lerp(CameraState stateA, CameraState stateB, float t)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| CameraState | stateA | The first state, corresponding to t=0 |
| CameraState | stateB | The second state, corresponding to t=1 |
| float | t | How much to interpolate. Internally clamped to 0..1 |
반환
| 타입 | 설명 |
|---|---|
| CameraState | Linearly interpolated CameraState |