# 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

  • int — Player
  • bool [ preset::OnOffOption ] — On/Off

Returns — void

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

Category: Camera / Camera Tricks

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L16749
CameraSetVerticalFieldOfView(1, false)
// L16749
CameraSetVerticalFieldOfView(1, false)