# Turn Camera Vertical Field Of View On/Off

Grammar — Turn camera vertical field of view enable for player player
FlagsNative | Action

By default, the horizontal screen space is preserved between aspect ratios, and the vertical space gets cropped or expanded as necessary. When vertical field of view is turned on, the vertical screen space will be preserved between aspect ratios, and the horizontal space will get cropped or expanded as necessary.

# Arguments

Returns — void

native void CameraSetVerticalFieldOfView(
	int player,
	bool value,
);

Category: Camera / Camera Tricks

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:16749

    CameraLockInput(1, true);
    CameraUseHeightSmoothing(1, false);
    CameraSetVerticalFieldOfView(1, false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:16749

    CameraLockInput(1, true);
    CameraUseHeightSmoothing(1, false);
    CameraSetVerticalFieldOfView(1, false);
    return true;
}