Skip to content

DebugCameraController

Class in GameFramework · GameFramework.DebugCameraController · config, native

Object › Actor › Controller › PlayerController › GamePlayerController › DebugCameraController

Subclasses: MobileDebugCameraController

Using it from Lua
h7.find_all("DebugCameraController")            -- live instances
h7.find_class("GameFramework.DebugCameraController")   -- the class
h7.hook("GameFramework.DebugCameraController.ConsoleCommand", fn)

Properties

NameTypeNotes
bDrawDebugTextbool
bIsFrozenRenderingbool
bShowSelectedInfoboolglobalconfig
DrawFrustumDrawFrustumComponent
HUDClassclass<HUD>
OriginalControllerRefPlayerController
OriginalPlayerPlayer
PrimaryKeynameglobalconfig
SecondaryKeynameglobalconfig
SelectedActorActor
SelectedComponentPrimitiveComponent
UnselectKeynameglobalconfig

Functions

NameDeclaration
ConsoleCommandnative function string ConsoleCommand(string Command, optional bool bWriteToLog = true)
DisableDebugCamerafunction DisableDebugCamera()
InitDebugInputSystemfunction InitDebugInputSystem()
MoreSpeedexec function MoreSpeed()
NativeInputKeyfunction bool NativeInputKey(int ControllerId, name Key, EInputEvent Event, float AmountDepressed = 1.f, bool bGamepad = FALSE)
NormalSpeedexec function NormalSpeed()
OnActivatefunction OnActivate(PlayerController PC)
OnDeactivatefunction OnDeactivate(PlayerController PC)
PostBeginPlaysimulated event PostBeginPlay()
PrimarySelectnative function PrimarySelect(vector HitLoc, vector HitNormal, TraceHitInfo HitInfo)
SecondarySelectnative function SecondarySelect(vector HitLoc, vector HitNormal, TraceHitInfo HitInfo)
SetFreezeRenderingexec function SetFreezeRendering()
ShowDebugSelectedInfoexec function ShowDebugSelectedInfo()
Unselectnative function Unselect()

States

State code replaces the class's functions while the object is in that state. Hook a state's version as GameFramework.DebugCameraController.<State>.<Function>.

StateFunctions
PlayerWaitingPlayerMove

Default values

InputClass=class'GameFramework.DebugCameraInput'
OriginalControllerRef=None
OriginalPlayer=None
bIsFrozenRendering=false
DrawFrustum=none
bHidden=FALSE
bHiddenEd=FALSE
bDrawDebugText=true
HUDClass=class'DebugCameraHUD'
bAlwaysTick=TRUE

Inherited

FromMembers
GamePlayerController5 properties, 18 functions
PlayerController109 properties, 400 functions
Controller62 properties, 129 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions