Method UpdateHeading
UpdateHeading(float, Vector3, ref AxisState, ref Recentering, bool)
Update the X axis and calculate the heading. This can be called by a delegate with a custom axis.
Used for damping. If less than 0, no damping is done. World Up, set by the CinemachineBrain선언
public float UpdateHeading(float deltaTime, Vector3 up, ref AxisState axis, ref AxisState.Recentering recentering, bool isLive)
파라미터
타입 | 이름 | 설명 |
---|---|---|
float | deltaTime | |
Vector3 | up | |
AxisState | axis | |
AxisState.Recentering | recentering | |
bool | isLive |
반환
타입 | 설명 |
---|---|
float |