BakkesMod Programming Wiki
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

CameraWrapper : CameraXWrapper

View Implementation

Vector 
GetLocation()



void 
SetLocation(Vector location)


Parameter Type Description
location Vector

Rotator 
GetRotation()



void 
SetRotation(Rotator rotation)


Parameter Type Description
rotation Rotator

ProfileCameraSettings 
GetCameraSettings()



void 
SetCameraSettings(ProfileCameraSettings settings)


Parameter Type Description
settings ProfileCameraSettings

bool 
IsCameraShakeOn()



POV 
GetPOV()



void 
SetPOV(POV pov)


Parameter Type Description
pov POV

void 
SetFOV(float fov)


Parameter Type Description
fov float

float 
GetFOV()



void 
SetLockedFOV(bool lock)


Parameter Type Description
lock bool

ActorWrapper 
GetCameraAsActor()



std::string 
GetCameraState()



void 
SetCameraState(std::string stateName)


Parameter Type Description
stateName std::string

Vector 
linterp(Vector start, Vector end, float elapsed, float speed)


Parameter Type Description
start Vector
end Vector
elapsed float
speed float

std::string 
GetFocusActor()



bool 
SetFocusActor(std::string actorName)


Parameter Type Description
actorName std::string

bool 
SetFlyCamBallTargetMode()



CameraStateBlenderWrapper 
GetBlender() const



float 
GetSwivelFastSpeed()



void 
SetSwivelFastSpeed(float newSwivelFastSpeed)


Parameter Type Description
newSwivelFastSpeed float

float 
GetSwivelDieRate()



void 
SetSwivelDieRate(float newSwivelDieRate)


Parameter Type Description
newSwivelDieRate float

StructArrayWrapper 
GetCameraPresetSettings()



float 
GetHorizontalSplitscreenHeightOffset()



void 
SetHorizontalSplitscreenHeightOffset(float newHorizontalSplitscreenHeightOffset)


Parameter Type Description
newHorizontalSplitscreenHeightOffset float

float 
GetHorizontalSplitscreenFOVOffset()



void 
SetHorizontalSplitscreenFOVOffset(float newHorizontalSplitscreenFOVOffset)


Parameter Type Description
newHorizontalSplitscreenFOVOffset float

float 
GetVerticalSplitscreenFOVOffset()



void 
SetVerticalSplitscreenFOVOffset(float newVerticalSplitscreenFOVOffset)


Parameter Type Description
newVerticalSplitscreenFOVOffset float

float 
GetClipRate()



void 
SetClipRate(float newClipRate)


Parameter Type Description
newClipRate float

Rotator 
GetCurrentSwivel()



void 
SetCurrentSwivel(Rotator newCurrentSwivel)


Parameter Type Description
newCurrentSwivel Rotator

RBActorWrapper 
GetDemolisher()



void 
SetDemolisher(RBActorWrapper newDemolisher)


Parameter Type Description
newDemolisher RBActorWrapper

unsigned long 
GetbDemolished()



void 
SetbDemolished(unsigned long newbDemolished)


Parameter Type Description
newbDemolished unsigned long

float 
ClipToField(float CameraLocationZ)


Parameter Type Description
CameraLocationZ float

void 
Demolished2(RBActorWrapper InDemolisher)


Parameter Type Description
InDemolisher RBActorWrapper

Rotator 
GetDesiredSwivel(float LookUp, float LookRight)


Parameter Type Description
LookUp float
LookRight float

void 
UpdateSwivel(float DeltaTime)


Parameter Type Description
DeltaTime float

float 
GetDefaultFOVOffset()



float 
GetDefaultViewHeightOffset()



void 
UpdateFOV()



void 
EventCameraTargetChanged(CameraWrapper Camera, ActorWrapper Target)


Parameter Type Description
Camera CameraWrapper
Target ActorWrapper