Constructor XRCameraIntrinsics
XRCameraIntrinsics(Vector2, Vector2, Vector2Int)
Constructs a XRCameraIntrinsics from the given parameters.
Declaration
public XRCameraIntrinsics(Vector2 focalLength, Vector2 principalPoint, Vector2Int resolution)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | focalLength | The focal length in pixels. |
Vector2 | principalPoint | The principal point from the top-left of the image, in pixels. |
Vector2Int | resolution | The dimensions of the image. |