CommonLibSSE NG
Loading...
Searching...
No Matches
RE::PlayerCamera Class Reference

#include <PlayerCamera.h>

Inheritance diagram for RE::PlayerCamera:
RE::TESCamera RE::BSTSingletonSDM< PlayerCamera > RE::BSTSingletonSDMBase< Traits >

Classes

struct  Unk120
 

Public Member Functions

 ~PlayerCamera () override
 
void SetCameraRoot (NiPointer< NiNode > a_root) override
 
bool ForceFirstPerson ()
 
bool ForceThirdPerson ()
 
bool IsInBleedoutMode () const
 
bool IsInFirstPerson () const
 
bool IsInFreeCameraMode () const
 
bool IsInThirdPerson () const
 
void ToggleFreeCameraMode (bool a_freezeTime)
 
void UpdateThirdPerson (bool a_weaponDrawn)
 
- Public Member Functions inherited from RE::TESCamera
virtual ~TESCamera ()
 
virtual void SetCameraRoot (NiPointer< NiNode > a_root)
 
virtual void Update ()
 
void SetState (TESCameraState *a_state)
 

Static Public Member Functions

static PlayerCameraGetSingleton ()
 

Public Attributes

std::uint8_t pad039
 
std::uint16_t pad03A
 
ActorHandle cameraTarget
 
BSTSmallArray< TESCameraState *, CameraStates::kTotaltempReturnStates
 
BSTSmartPointer< TESCameraStatecameraStates [CameraStates::kTotal]
 
Unk120unk120
 
NiPointer< bhkRigidBodyrigidBody
 
RefHandle objectFadeHandle
 
BSSpinLock lock
 
float worldFOV
 
float firstPersonFOV
 
NiPoint3 pos
 
float idleTimer
 
float yaw
 
std::uint32_t unk158
 
std::uint32_t unk15C
 
bool allowAutoVanityMode
 
bool bowZoomedIn
 
bool isWeapSheathed
 
bool isProcessed
 
std::uint8_t unk164
 
std::uint8_t unk165
 
std::uint16_t pad166
 
- Public Attributes inherited from RE::TESCamera
BSTPoint2< float > rotationInput
 
BSTPoint3< float > translationInput
 
float zoomInput
 
NiPointer< NiNodecameraRoot
 
BSTSmartPointer< TESCameraStatecurrentState
 
bool enabled
 
std::uint8_t pad31
 
std::uint16_t pad32
 
std::uint32_t pad34
 

Static Public Attributes

static constexpr auto RTTI = RTTI_PlayerCamera
 
- Static Public Attributes inherited from RE::TESCamera
static constexpr auto RTTI = RTTI_TESCamera
 

Additional Inherited Members

- Public Types inherited from RE::BSTSingletonSDMBase< Traits >
using Type = typename Traits::Type
 
using Allocator = typename Traits::Allocator
 

Constructor & Destructor Documentation

◆ ~PlayerCamera()

RE::PlayerCamera::~PlayerCamera ( )
override

Member Function Documentation

◆ ForceFirstPerson()

bool RE::PlayerCamera::ForceFirstPerson ( )

◆ ForceThirdPerson()

bool RE::PlayerCamera::ForceThirdPerson ( )

◆ GetSingleton()

static PlayerCamera * RE::PlayerCamera::GetSingleton ( )
static

◆ IsInBleedoutMode()

bool RE::PlayerCamera::IsInBleedoutMode ( ) const

◆ IsInFirstPerson()

bool RE::PlayerCamera::IsInFirstPerson ( ) const

◆ IsInFreeCameraMode()

bool RE::PlayerCamera::IsInFreeCameraMode ( ) const

◆ IsInThirdPerson()

bool RE::PlayerCamera::IsInThirdPerson ( ) const

◆ SetCameraRoot()

void RE::PlayerCamera::SetCameraRoot ( NiPointer< NiNode a_root)
overridevirtual

Reimplemented from RE::TESCamera.

◆ ToggleFreeCameraMode()

void RE::PlayerCamera::ToggleFreeCameraMode ( bool  a_freezeTime)

◆ UpdateThirdPerson()

void RE::PlayerCamera::UpdateThirdPerson ( bool  a_weaponDrawn)

Member Data Documentation

◆ allowAutoVanityMode

bool RE::PlayerCamera::allowAutoVanityMode

◆ bowZoomedIn

bool RE::PlayerCamera::bowZoomedIn

◆ cameraStates

BSTSmartPointer<TESCameraState> RE::PlayerCamera::cameraStates[CameraStates::kTotal]

◆ cameraTarget

ActorHandle RE::PlayerCamera::cameraTarget

◆ firstPersonFOV

float RE::PlayerCamera::firstPersonFOV

◆ idleTimer

float RE::PlayerCamera::idleTimer

◆ isProcessed

bool RE::PlayerCamera::isProcessed

◆ isWeapSheathed

bool RE::PlayerCamera::isWeapSheathed

◆ lock

BSSpinLock RE::PlayerCamera::lock
mutable

◆ objectFadeHandle

RefHandle RE::PlayerCamera::objectFadeHandle

◆ pad039

std::uint8_t RE::PlayerCamera::pad039

◆ pad03A

std::uint16_t RE::PlayerCamera::pad03A

◆ pad166

std::uint16_t RE::PlayerCamera::pad166

◆ pos

NiPoint3 RE::PlayerCamera::pos

◆ rigidBody

NiPointer<bhkRigidBody> RE::PlayerCamera::rigidBody

◆ RTTI

constexpr auto RE::PlayerCamera::RTTI = RTTI_PlayerCamera
inlinestaticconstexpr

◆ tempReturnStates

BSTSmallArray<TESCameraState*, CameraStates::kTotal> RE::PlayerCamera::tempReturnStates

◆ unk120

Unk120* RE::PlayerCamera::unk120

◆ unk158

std::uint32_t RE::PlayerCamera::unk158

◆ unk15C

std::uint32_t RE::PlayerCamera::unk15C

◆ unk164

std::uint8_t RE::PlayerCamera::unk164

◆ unk165

std::uint8_t RE::PlayerCamera::unk165

◆ worldFOV

float RE::PlayerCamera::worldFOV

◆ yaw

float RE::PlayerCamera::yaw

The documentation for this class was generated from the following file: