Method StandardizeUnit
StandardizeUnit(float, PositionUnits)
Standardize the unit, so that it lies between MinUmit and MaxUnit
선언
public virtual float StandardizeUnit(float pos, CinemachinePathBase.PositionUnits units)
파라미터
타입 | 이름 | 설명 |
---|---|---|
float | pos | The value to be standardized |
CinemachinePathBase.PositionUnits | units | The unit type |
반환
타입 | 설명 |
---|---|
float | The standardized value of pos, between MinUnit and MaxUnit |