Navigation
API > API/Plugins > API/Plugins/ChaosModularVehicleEngine
| Name | UVehicleSimEngineComponent |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ChaosModularVehicle/Source/ChaosModularVehicleEngine/Public/ChaosModularVehicle/VehicleSimEngineComponent.h |
| Include Path | #include "ChaosModularVehicle/VehicleSimEngineComponent.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup=(ModularVehicle), Meta=(BlueprintSpawnableComponent),
HideCategories=(Object, Tick, Replication, Cooking, Activation, LOD))
class UVehicleSimEngineComponent : public UVehicleSimBaseComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → UVehicleSimBaseComponent → UVehicleSimEngineComponent
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsComponent
- IVehicleSimBaseComponentInterface
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UVehicleSimEngineComponent() |
ChaosModularVehicle/VehicleSimEngineComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UVehicleSimEngineComponent() |
ChaosModularVehicle/VehicleSimEngineComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EngineBrakeEffect | float | ChaosModularVehicle/VehicleSimEngineComponent.h |
|
|
| EngineIdleRPM | int | ChaosModularVehicle/VehicleSimEngineComponent.h |
|
|
| EngineInertia | float | ChaosModularVehicle/VehicleSimEngineComponent.h |
|
|
| MaxRPM | int | ChaosModularVehicle/VehicleSimEngineComponent.h |
|
|
| MaxTorque | float | ChaosModularVehicle/VehicleSimEngineComponent.h |
|
|
| TorqueCurve | FRuntimeFloatCurve | ChaosModularVehicle/VehicleSimEngineComponent.h |
|
Functions
Public
Overridden from IVehicleSimBaseComponentInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual Chaos::ISimulationModuleBase * CreateNewCoreModule() |
Caller takes ownership of pointer to new Sim Module. | ChaosModularVehicle/VehicleSimEngineComponent.h | |
virtual ESimModuleType GetModuleType() |
ChaosModularVehicle/VehicleSimEngineComponent.h | ||
virtual void OnOutputReady
(
const Chaos::FSimOutputData* OutputData |
ChaosModularVehicle/VehicleSimEngineComponent.h |