Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore
| Name | FEngineSimModule |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/SimModule/EngineModule.h |
| Include Path | #include "SimModule/EngineModule.h" |
Syntax
class FEngineSimModule :
public Chaos::FTorqueSimModule ,
public Chaos::TSimModuleSettings< FEngineSettings > ,
public Chaos::TSimulationModuleTypeable< FEngineSimModule >
Inheritance Hierarchy
- TSimulationModuleTypeable → FTorqueSimModule → FEngineSimModule
- TSimModuleSettings → FEngineSimModule
- TSimulationModuleTypeable → FEngineSimModule
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEngineSimModule
(
const FEngineSettings& Settings |
SimModule/EngineModule.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FEngineSimModule() |
SimModule/EngineModule.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetEngineIdleSpeed() |
SimModule/EngineModule.h | ||
float GetEngineTorque
(
float ThrottlePosition, |
SimModule/EngineModule.h | ||
float GetTorqueFromRPM
(
float RPM, |
SimModule/EngineModule.h |
Overridden from ISimulationModuleBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< FModuleNetData > GenerateNetData
(
const int32 NodeArrayIndex |
This is the replication datas | SimModule/EngineModule.h | |
virtual FSimOutputData * GenerateOutputData() |
SimModule/EngineModule.h | ||
virtual const FString GetDebugName() |
Get the friendly name for this module, primarily for logging & debugging module tree | SimModule/EngineModule.h | |
virtual bool GetDebugString
(
FString& StringOut |
Option to return debug text for drawing on the HUD in the Game Thread | SimModule/EngineModule.h | |
virtual void Simulate
(
float DeltaTime, |
The main Simulation function that is called from the physics async callback thread | SimModule/EngineModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName CHAOSTYPENAMERETRIVAL() |
SimModule/EngineModule.h |