Version: 2020.3

Camera.GetGateFittedLensShift

マニュアルに切り替える
public Vector2 GetGateFittedLensShift ();

戻り値

Vector2 Returns the effective lens shift value.

説明

Retrieves the effective lens offset of the camera, including GateFit. Fitting the sensor gate and the resolution gate has an impact on the final obliqueness of the projection. If the sensor gate aspect ratio is the same as the resolution gate aspect ratio, then this method returns the same value as the lenshift property. If the camera is not in physical mode, then this methods returns Vector2.zero.