# Camera Pitch of Player

Grammar — Current camera pitch of player player
FlagsNative | Function

Returns the current camera pitch of a player. Camera pitch is tracked for all players in a multiplayer game, but the queried locations will be slightly old due to network latency.

# Arguments

  • int — Player

Returns — fixed

native fixed CameraGetPitch(int player);

Category: Camera / Basic

# Examples

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L4832
CameraGetPitch(1)
// L4833
CameraGetPitch(1)

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L4479
CameraGetPitch(1)
// L4480
CameraGetPitch(1)
// L4479
CameraGetPitch(1)
// L4480
CameraGetPitch(1)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L25320
CameraGetPitch(lv_player)
// L25321
CameraGetPitch(lv_player)
// L29235
CameraGetPitch(lv_player)
// L29236
CameraGetPitch(lv_player)