Camera.GetGateFittedLensShift

Cambiar al Manual
public Vector2 GetGateFittedLensShift ();

Valor de retorno

Vector2 Returns the effective lens shift value.

Descripción

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.