Version: 2019.2

Camera.CalculateProjectionMatrixFromPhysicalProperties(Matrix4x4,float,Vector2,Vector2,GateFitParameters)

Switch to Manual

Parameters

outputThe calculated matrix.
focalLengthFocal length in millimeters.
sensorSizeSensor dimensions in Millimeters.
lensShiftLens offset relative to the sensor size.
nearClipNear plane distance.
farClipFar plane distance.
gateFitParametersGate fit parameters to use. See GateFitParameters.

Description

Calculates the projection matrix from focal length, sensor size, lens shift, near plane distance, far plane distance, and Gate fit parameters. To calculate the projection matrix without taking Gate fit into account, use Camera.GateFitMode.None . See Also: GateFitParameters