Skip to content

AOperatingSystemDronePawn

#include <OperatingSystemDrone/Private/World/OperatingSystemDronePawn.h>
class AOperatingSystemDronePawn

Defined in OperatingSystemDronePawn.h:18

Inherits: APawn Subclassed by: AOperatingSystemDronePawnDefault

---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class AOperatingSystemDronePawn["AOperatingSystemDronePawn"]
  class APawn["APawn"]
  APawn <|-- AOperatingSystemDronePawn
  class AOperatingSystemDronePawnDefault["AOperatingSystemDronePawnDefault"]
  AOperatingSystemDronePawn <|-- AOperatingSystemDronePawnDefault
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class AOperatingSystemDronePawn["AOperatingSystemDronePawn"]
  class UOperatingSystemPidControllerComponent["UOperatingSystemPidControllerComponent"]
  AOperatingSystemDronePawn *-- UOperatingSystemPidControllerComponent
  class UOperatingSystemDroneWorldSubsystem["UOperatingSystemDroneWorldSubsystem"]
  AOperatingSystemDronePawn *-- UOperatingSystemDroneWorldSubsystem
  class UOperatingSystemDronePropellerComponent["UOperatingSystemDronePropellerComponent"]
  AOperatingSystemDronePawn o-- UOperatingSystemDronePropellerComponent
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class AOperatingSystemDronePawn {
    +AOperatingSystemDronePawn()
    +BeginPlay() override
    +Tick(float DeltaSeconds) override
    +EndPlay(const EEndPlayReason::Type EndPlayReason) o
    +AddPropellerComponent(UOperatingSystemDronePropellerComponent *Pr
    +RegisterDroneWithWorld()
    +UnregisterDroneFromWorld() bool
    +CreateCameraComponent(USceneComponent *AttachTo, const FName Sock
    +BeginControllingDrone(APlayerController *PlayerController)
    +StopControllingDrone()
    +GetRenderTarget() const UTextureRenderTarget2D *
    +K2_GetPhysicsSimulatingBodyComponent() const UPrimitiveComponent *
    +K2_GetPhysicsSimulatingBodyComponent_Implementation() const UPrimitiveComponent *
    +DroneCameraCaptureComponent : TObjectPtr< USceneCaptureComponent2D >
    +AltitudePidControllerComponent : TObjectPtr< UOperatingSystemPidControlle
    +PitchStabilizationPidControllerComponent : TObjectPtr< UOperatingSystemPidControlle
    +PitchCorrectionPidControllerComponent : TObjectPtr< UOperatingSystemPidControlle
    +RollStabilizationPidControllerComponent : TObjectPtr< UOperatingSystemPidControlle
    +YawStabilizationPidControllerComponent : TObjectPtr< UOperatingSystemPidControlle
    +DroneDisplayName : FText
    +ThrustPower : float
    +MaxAltitude : float
    +bRegisterAtStartup : bool
    +RenderTextureResolution : FIntPoint
    +ThrottleForceMultiplier : float
    +PitchRollMultiplier : float
    +YawMultiplier : float
    +PitchStabilizationMultiplier : float
    +RollStabilizationMultiplier : float
    +YawStabilizationMultiplier : float
    +InputContext : TSoftObjectPtr< UInputMappingContext >
    +ThrustInputAction : TSoftObjectPtr< UInputAction >
    +PitchForwardInputAction : TSoftObjectPtr< UInputAction >
    +RollInputAction : TSoftObjectPtr< UInputAction >
    +YawInputAction : TSoftObjectPtr< UInputAction >
    +DroneWorldSubsystem : TWeakObjectPtr< UOperatingSystemDroneWor
    +ControllingPlayerController : TWeakObjectPtr< APlayerController >
    +CurrentThrustInput : float
    +CurrentPitchForwardInput : float
    +CurrentRollInput : float
    +CurrentYawInput : float
    +DesiredAltitude : float
    +CurrentPitchForce : float
    +CurrentRollForce : float
    +CurrentYawForce : float
    +PropellerComponents : TArray< UOperatingSystemDronePropellerCo
    +ThrustInputHandle : uint32
    +ThrustFinishInputHandle : uint32
    +PitchForwardInputHandle : uint32
    +PitchForwardFinishInputHandle : uint32
    +RollInputHandle : uint32
    +RollFinishInputHandle : uint32
    +YawInputHandle : uint32
    +YawFinishInputHandle : uint32
    +ComputeForceZ(const float &DeltaSeconds) const float
    +OnDroneRegistered()
    +OnDroneUnregistered()
    +K2_OnDroneRegistered()
    +K2_OnDroneUnregistered()
    +bHasBlueprintOnDroneRegistered : uint8
    +bHasBlueprintOnDroneUnregistered : uint8
    +Internal_HandleThrottle(const float &DeltaSeconds)
    +Internal_HandlePitch(const float &DeltaSeconds)
    +Internal_Pitch(const float &Force, const float &DeltaSecon
    +Internal_PitchStabilization(const float &DeltaSeconds)
    +Internal_HandleRoll(const float &DeltaSeconds)
    +Internal_Roll(const float &Force, const float &DeltaSecon
    +Internal_RollStabilization(const float &DeltaSeconds)
    +Internal_HandleYaw(const float &DeltaSeconds)
    +Internal_Yaw(const float &Force, const float &DeltaSecon
    +Internal_YawStabilization(const float &DeltaSeconds)
    +Internal_SetupInputs()
    +Internal_Thrust(const FInputActionInstance &Instance)
    +Internal_ThrustFinish(const FInputActionInstance &Instance)
    +Internal_PitchForward(const FInputActionInstance &Instance)
    +Internal_PitchForwardFinish(const FInputActionInstance &Instance)
    +Internal_Roll(const FInputActionInstance &Instance)
    +Internal_RollFinish(const FInputActionInstance &Instance)
    +Internal_Yaw(const FInputActionInstance &Instance)
    +Internal_YawFinish(const FInputActionInstance &Instance)
  }

Caller impact — K2_GetPhysicsSimulatingBodyComponent

Section titled “Caller impact — K2_GetPhysicsSimulatingBodyComponent”

Documented call sites inside the plugin (3):

flowchart LR
  AOperatingSystemDronePawn__K2_GetPhysicsSimulatingBodyComponent["AOperatingSystemDronePawn::K2_GetPhysicsSimulatingBodyComponent"]
  AOperatingSystemDronePawn__Internal_PitchStabilization["AOperatingSystemDronePawn::Internal_PitchStabilization"]
  AOperatingSystemDronePawn__Internal_PitchStabilization --> AOperatingSystemDronePawn__K2_GetPhysicsSimulatingBodyComponent
  AOperatingSystemDronePawn__Internal_RollStabilization["AOperatingSystemDronePawn::Internal_RollStabilization"]
  AOperatingSystemDronePawn__Internal_RollStabilization --> AOperatingSystemDronePawn__K2_GetPhysicsSimulatingBodyComponent
  AOperatingSystemDronePawn__Internal_YawStabilization["AOperatingSystemDronePawn::Internal_YawStabilization"]
  AOperatingSystemDronePawn__Internal_YawStabilization --> AOperatingSystemDronePawn__K2_GetPhysicsSimulatingBodyComponent
ReturnNameDescription
AOperatingSystemDronePawn
voidBeginPlay virtual override
voidTick virtual override
voidEndPlay virtual override
voidAddPropellerComponent
voidRegisterDroneWithWorld
boolUnregisterDroneFromWorld
voidCreateCameraComponent
voidBeginControllingDrone
voidStopControllingDrone
UTextureRenderTarget2D *GetRenderTarget const
UPrimitiveComponent *K2_GetPhysicsSimulatingBodyComponent const
UPrimitiveComponent *K2_GetPhysicsSimulatingBodyComponent_Implementation virtual const inline

AOperatingSystemDronePawn()

Defined in OperatingSystemDronePawn.h:142


virtual override

virtual void BeginPlay() override

Defined in OperatingSystemDronePawn.h:144


virtual override

virtual void Tick(float DeltaSeconds) override

Defined in OperatingSystemDronePawn.h:145


virtual override

virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override

Defined in OperatingSystemDronePawn.h:146


void AddPropellerComponent(UOperatingSystemDronePropellerComponent * PropellerComponent)

Defined in OperatingSystemDronePawn.h:148


void RegisterDroneWithWorld()

Defined in OperatingSystemDronePawn.h:151


bool UnregisterDroneFromWorld()

Defined in OperatingSystemDronePawn.h:154


void CreateCameraComponent(USceneComponent * AttachTo, const FName SocketName = NAME_None)

Defined in OperatingSystemDronePawn.h:157


void BeginControllingDrone(APlayerController * PlayerController)

Defined in OperatingSystemDronePawn.h:160


void StopControllingDrone()

Defined in OperatingSystemDronePawn.h:163


const

UTextureRenderTarget2D * GetRenderTarget() const

Defined in OperatingSystemDronePawn.h:166


const

UPrimitiveComponent * K2_GetPhysicsSimulatingBodyComponent() const

Defined in OperatingSystemDronePawn.h:169


K2_GetPhysicsSimulatingBodyComponent_Implementation

Section titled “K2_GetPhysicsSimulatingBodyComponent_Implementation”

virtual const inline

virtual inline UPrimitiveComponent * K2_GetPhysicsSimulatingBodyComponent_Implementation() const

Defined in OperatingSystemDronePawn.h:170

ReturnNameDescription
TObjectPtr< USceneCaptureComponent2D >DroneCameraCaptureComponent
TObjectPtr< UOperatingSystemPidControllerComponent >AltitudePidControllerComponent
TObjectPtr< UOperatingSystemPidControllerComponent >PitchStabilizationPidControllerComponent
TObjectPtr< UOperatingSystemPidControllerComponent >PitchCorrectionPidControllerComponent
TObjectPtr< UOperatingSystemPidControllerComponent >RollStabilizationPidControllerComponent
TObjectPtr< UOperatingSystemPidControllerComponent >YawStabilizationPidControllerComponent
FTextDroneDisplayName
floatThrustPower
floatMaxAltitude
boolbRegisterAtStartup
FIntPointRenderTextureResolution
floatThrottleForceMultiplier
floatPitchRollMultiplier
floatYawMultiplier
floatPitchStabilizationMultiplier
floatRollStabilizationMultiplier
floatYawStabilizationMultiplier
TSoftObjectPtr< UInputMappingContext >InputContext
TSoftObjectPtr< UInputAction >ThrustInputAction
TSoftObjectPtr< UInputAction >PitchForwardInputAction
TSoftObjectPtr< UInputAction >RollInputAction
TSoftObjectPtr< UInputAction >YawInputAction
TWeakObjectPtr< UOperatingSystemDroneWorldSubsystem >DroneWorldSubsystem
TWeakObjectPtr< APlayerController >ControllingPlayerController
floatCurrentThrustInput
floatCurrentPitchForwardInput
floatCurrentRollInput
floatCurrentYawInput
floatDesiredAltitude
floatCurrentPitchForce
floatCurrentRollForce
floatCurrentYawForce
TArray< UOperatingSystemDronePropellerComponent * >PropellerComponents
uint32ThrustInputHandle
uint32ThrustFinishInputHandle
uint32PitchForwardInputHandle
uint32PitchForwardFinishInputHandle
uint32RollInputHandle
uint32RollFinishInputHandle
uint32YawInputHandle
uint32YawFinishInputHandle

TObjectPtr< USceneCaptureComponent2D > DroneCameraCaptureComponent

Defined in OperatingSystemDronePawn.h:25


TObjectPtr< UOperatingSystemPidControllerComponent > AltitudePidControllerComponent

Defined in OperatingSystemDronePawn.h:28


TObjectPtr< UOperatingSystemPidControllerComponent > PitchStabilizationPidControllerComponent

Defined in OperatingSystemDronePawn.h:31


TObjectPtr< UOperatingSystemPidControllerComponent > PitchCorrectionPidControllerComponent

Defined in OperatingSystemDronePawn.h:34


TObjectPtr< UOperatingSystemPidControllerComponent > RollStabilizationPidControllerComponent

Defined in OperatingSystemDronePawn.h:37


TObjectPtr< UOperatingSystemPidControllerComponent > YawStabilizationPidControllerComponent

Defined in OperatingSystemDronePawn.h:40


FText DroneDisplayName
float ThrustPower

Defined in OperatingSystemDronePawn.h:46


float MaxAltitude

Defined in OperatingSystemDronePawn.h:49


bool bRegisterAtStartup

Defined in OperatingSystemDronePawn.h:52


FIntPoint RenderTextureResolution

Defined in OperatingSystemDronePawn.h:55


float ThrottleForceMultiplier

Defined in OperatingSystemDronePawn.h:58


float PitchRollMultiplier

Defined in OperatingSystemDronePawn.h:61


float YawMultiplier

Defined in OperatingSystemDronePawn.h:64


float PitchStabilizationMultiplier

Defined in OperatingSystemDronePawn.h:67


float RollStabilizationMultiplier

Defined in OperatingSystemDronePawn.h:70


float YawStabilizationMultiplier

Defined in OperatingSystemDronePawn.h:73


TSoftObjectPtr< UInputMappingContext > InputContext

Defined in OperatingSystemDronePawn.h:76


TSoftObjectPtr< UInputAction > ThrustInputAction
TSoftObjectPtr< UInputAction > PitchForwardInputAction
TSoftObjectPtr< UInputAction > RollInputAction
TSoftObjectPtr< UInputAction > YawInputAction
TWeakObjectPtr< UOperatingSystemDroneWorldSubsystem > DroneWorldSubsystem

Defined in OperatingSystemDronePawn.h:91


TWeakObjectPtr< APlayerController > ControllingPlayerController

Defined in OperatingSystemDronePawn.h:94


float CurrentThrustInput

Defined in OperatingSystemDronePawn.h:97


float CurrentPitchForwardInput

Defined in OperatingSystemDronePawn.h:100


float CurrentRollInput

Defined in OperatingSystemDronePawn.h:103


float CurrentYawInput

Defined in OperatingSystemDronePawn.h:106


float DesiredAltitude

Defined in OperatingSystemDronePawn.h:109


float CurrentPitchForce

Defined in OperatingSystemDronePawn.h:112


float CurrentRollForce

Defined in OperatingSystemDronePawn.h:115


float CurrentYawForce

Defined in OperatingSystemDronePawn.h:118


TArray< UOperatingSystemDronePropellerComponent * > PropellerComponents

Defined in OperatingSystemDronePawn.h:121


uint32 ThrustInputHandle
uint32 ThrustFinishInputHandle
uint32 PitchForwardInputHandle
uint32 PitchForwardFinishInputHandle
uint32 RollInputHandle
uint32 RollFinishInputHandle
uint32 YawInputHandle
uint32 YawFinishInputHandle

Defined in OperatingSystemDronePawn.h:133

ReturnNameDescription
floatComputeForceZ const
voidOnDroneRegistered virtual inline
voidOnDroneUnregistered virtual inline
voidK2_OnDroneRegistered
voidK2_OnDroneUnregistered

const

float ComputeForceZ(const float & DeltaSeconds) const

Defined in OperatingSystemDronePawn.h:204


virtual inline

virtual inline void OnDroneRegistered()

Defined in OperatingSystemDronePawn.h:205


virtual inline

virtual inline void OnDroneUnregistered()

Defined in OperatingSystemDronePawn.h:206


void K2_OnDroneRegistered()

Defined in OperatingSystemDronePawn.h:209


void K2_OnDroneUnregistered()

Defined in OperatingSystemDronePawn.h:212

ReturnNameDescription
uint8bHasBlueprintOnDroneRegistered
uint8bHasBlueprintOnDroneUnregistered

uint8 bHasBlueprintOnDroneRegistered

Defined in OperatingSystemDronePawn.h:137


uint8 bHasBlueprintOnDroneUnregistered

Defined in OperatingSystemDronePawn.h:138

ReturnNameDescription
voidInternal_HandleThrottle
voidInternal_HandlePitch
voidInternal_Pitch
voidInternal_PitchStabilization
voidInternal_HandleRoll
voidInternal_Roll
voidInternal_RollStabilization
voidInternal_HandleYaw
voidInternal_Yaw
voidInternal_YawStabilization
voidInternal_SetupInputs
voidInternal_Thrust
voidInternal_ThrustFinish
voidInternal_PitchForward
voidInternal_PitchForwardFinish
voidInternal_Roll
voidInternal_RollFinish
voidInternal_Yaw
voidInternal_YawFinish

void Internal_HandleThrottle(const float & DeltaSeconds)

Defined in OperatingSystemDronePawn.h:174


void Internal_HandlePitch(const float & DeltaSeconds)

Defined in OperatingSystemDronePawn.h:176


void Internal_Pitch(const float & Force, const float & DeltaSeconds)

Defined in OperatingSystemDronePawn.h:177


void Internal_PitchStabilization(const float & DeltaSeconds)

Defined in OperatingSystemDronePawn.h:178


void Internal_HandleRoll(const float & DeltaSeconds)

Defined in OperatingSystemDronePawn.h:180


void Internal_Roll(const float & Force, const float & DeltaSeconds)

Defined in OperatingSystemDronePawn.h:181


void Internal_RollStabilization(const float & DeltaSeconds)

Defined in OperatingSystemDronePawn.h:182


void Internal_HandleYaw(const float & DeltaSeconds)

Defined in OperatingSystemDronePawn.h:184


void Internal_Yaw(const float & Force, const float & DeltaSeconds)

Defined in OperatingSystemDronePawn.h:185


void Internal_YawStabilization(const float & DeltaSeconds)

Defined in OperatingSystemDronePawn.h:186


void Internal_SetupInputs()

Defined in OperatingSystemDronePawn.h:188


void Internal_Thrust(const FInputActionInstance & Instance)

Defined in OperatingSystemDronePawn.h:190


void Internal_ThrustFinish(const FInputActionInstance & Instance)

Defined in OperatingSystemDronePawn.h:191


void Internal_PitchForward(const FInputActionInstance & Instance)

Defined in OperatingSystemDronePawn.h:193


void Internal_PitchForwardFinish(const FInputActionInstance & Instance)

Defined in OperatingSystemDronePawn.h:194


void Internal_Roll(const FInputActionInstance & Instance)

Defined in OperatingSystemDronePawn.h:196


void Internal_RollFinish(const FInputActionInstance & Instance)

Defined in OperatingSystemDronePawn.h:197


void Internal_Yaw(const FInputActionInstance & Instance)

Defined in OperatingSystemDronePawn.h:199


void Internal_YawFinish(const FInputActionInstance & Instance)

Defined in OperatingSystemDronePawn.h:200