Limited support
This feature is only present in Portal 2: Community Edition and Portal: Revolution.

CPortal_VRPlayer

GetDominantHand

Get the player's dominant hand (weapon hand)

handle CPortal_VRPlayer::GetDominantHand()

GetOffHand

Get the player's non-dominant hand (off hand)

handle CPortal_VRPlayer::GetOffHand()

Inherited from CPortal_Player

GetWheatleyMonitorDestructionCount

Get number of wheatley monitors destroyed by the player.

int CPortal_Player::GetWheatleyMonitorDestructionCount()

IncWheatleyMonitorDestructionCount

Set number of wheatley monitors destroyed by the player.

void CPortal_Player::IncWheatleyMonitorDestructionCount()

TurnOffPotatos

Turns Off the Potatos material light

void CPortal_Player::TurnOffPotatos()

TurnOnPotatos

Turns On the Potatos material light

void CPortal_Player::TurnOnPotatos()