Class DebugCameraController
Camera controller that allows you to fly around a level mostly unrestricted by normal movement rules.
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class DebugCameraController : PlayerController
Remarks
To turn it on, please press Alt+C or both (left and right) analogs on XBox pad, or use the "ToggleDebugCamera" console command. Check the debug camera bindings in DefaultPawn.cpp for the camera controls.
Properties
| Improve this Doc View SourcebIsFrozenRendering
Declaration
public bool bIsFrozenRendering { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
bShowSelectedInfo
Declaration
public bool bShowSelectedInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static DebugCameraController DefaultObject { get; }
Property Value
| Type | Description |
|---|---|
| DebugCameraController |
DrawFrustum
@todo document
Declaration
public DrawFrustumComponent DrawFrustum { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawFrustumComponent |
InitialAccel
Initial acceleration of the spectator pawn when we start possession.
Declaration
public float InitialAccel { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
InitialDecel
Initial deceleration of the spectator pawn when we start possession.
Declaration
public float InitialDecel { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
InitialMaxSpeed
Initial max speed of the spectator pawn when we start possession.
Declaration
public float InitialMaxSpeed { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
SpeedScale
Allows control over the speed of the spectator pawn. This scales the speed based on the InitialMaxSpeed. Use Set Pawn Movement Speed Scale during runtime
Declaration
public float SpeedScale { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
| Type | Description |
|---|---|
| Class |
Methods
| Improve this Doc View SourceGetSelectedActor()
Get Selected Actor
Declaration
public Actor GetSelectedActor()
Returns
| Type | Description |
|---|---|
| Actor |
New(UObject, Name)
Spawn an object of this class
Declaration
public static DebugCameraController New(UObject obj = null, Name name = default(Name))
Parameters
| Type | Name | Description |
|---|---|---|
| UObject | obj | |
| Name | name |
Returns
| Type | Description |
|---|---|
| DebugCameraController |
SetPawnMovementSpeedScale(Single)
Sets the pawn movement speed scale.
Declaration
public void SetPawnMovementSpeedScale(float NewSpeedScale)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | NewSpeedScale |
ToggleDisplay()
Toggles the display of debug info and input commands for the Debug Camera.
Declaration
public void ToggleDisplay()
Events
| Improve this Doc View SourceReceiveOnActivate
Function called on activation of debug camera controller.
Declaration
public event DebugCameraController.ReceiveOnActivate_delegate ReceiveOnActivate
Event Type
| Type | Description |
|---|---|
| DebugCameraController.ReceiveOnActivate_delegate |
Remarks
@param OriginalPC The active player controller before this debug camera controller was possessed by the player.
ReceiveOnActorSelected
Called when an actor has been selected with the primary key (e.
Declaration
public event DebugCameraController.ReceiveOnActorSelected_delegate ReceiveOnActorSelected
Event Type
| Type | Description |
|---|---|
| DebugCameraController.ReceiveOnActorSelected_delegate |
Remarks
g. left mouse button).
The selection trace starts from the center of the debug camera's view.
@param SelectHitLocation The exact world-space location where the selection trace hit the New Selected Actor. @param SelectHitNormal The world-space surface normal of the New Selected Actor at the hit location.
ReceiveOnDeactivate
Function called on deactivation of debug camera controller.
Declaration
public event DebugCameraController.ReceiveOnDeactivate_delegate ReceiveOnDeactivate
Event Type
| Type | Description |
|---|---|
| DebugCameraController.ReceiveOnDeactivate_delegate |
Remarks
@param RestoredPC The Player Controller that the player input is being returned to.
Operators
| Improve this Doc View SourceImplicit(IntPtr to DebugCameraController)
Convert from IntPtr to UObject
Declaration
public static implicit operator DebugCameraController(IntPtr p)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | p |
Returns
| Type | Description |
|---|---|
| DebugCameraController |