DeskSim v2 0.1
Train simulator prototype created for Lokførerskolen
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
AEditorController Class Reference
Inheritance diagram for AEditorController:

Public Member Functions

virtual void Tick (float DeltaTime) override
 
template<const EToolMode NewToolMode>
void SetToolMode ()
 Sets the current mode to the given tool mode.
 
void DeleteSelectedObject ()
 Deletes the selected objects and resets the gizmo.
 

Public Attributes

float MaxMoveSpeed = 5000.0f
 The maximum allowed move speed of the camera.
 
float Acceleration = 6000.0f
 The acceleration of the camera.
 
float Deceleration = 10000.0f
 The deceleration of the camera.
 
float LookSensistivity = 1.0f
 The sensitivity scale of the camera mouse movement.
 
EToolMode ToolMode = EToolMode::Translation
 The current mode of the transformation tool. Default is translation.
 

Protected Member Functions

virtual void BeginPlay () override
 
virtual void SetupPlayerInputComponent (class UInputComponent *PlayerInputComponent) override
 

Protected Attributes

USceneComponent * RootSceneComponent
 The root of the editor controller.
 
USceneComponent * GizmoComponent
 A component holding all gizmo meshes.
 
APlayerController * PC
 The current player controller.
 
class UFloatingPawnMovement * PawnMovement
 The floating pawn movement component in charge of drone movement.
 
class UCameraComponent * Camera
 Camera component.
 
UStaticMeshComponent * ArrowX
 The mesh of the gizmo arrow for the X-axis (red)
 
UStaticMeshComponent * ArrowY
 The mesh of the gizmo arrow for the Y-axis (green)
 
UStaticMeshComponent * ArrowZ
 The mesh of the gizmo arrow for the Z-axis (blue)
 
UStaticMeshComponent * PlaneXY
 The mesh of the gizmo for the XY-plane (red-green)
 
UStaticMeshComponent * DiscZ
 The mesh of gizmo disc for the rotation around the Z-axis.
 

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