Navigation
API > API/Plugins > API/Plugins/ChaosModularVehicleEngine > API/Plugins/ChaosModularVehicleEngine/ChaosModularVehicle
Inheritance Hierarchy
- FNetworkPhysicsData
- FNetworkModularVehicleInputs
References
| Module | ChaosModularVehicleEngine |
| Header | /Engine/Plugins/Experimental/ChaosModularVehicle/Source/ChaosModularVehicleEngine/Public/ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h |
| Include | #include "ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h" |
Syntax
USTRUCT ()
struct FNetworkModularVehicleInputs : public FNetworkPhysicsData
Remarks
Vehicle input data that will be used in the input history to be applied while simulating
Variables
| Type | Name | Description | |
|---|---|---|---|
| FModularVehicleInputs | VehicleInputs | List of incoming control inputs coming from the local client |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyData
(
UActorComponent* NetworkComponent |
Apply the data onto the network physics component | |
| void | BuildData
(
const UActorComponent* NetworkComponent |
Build the data from the network physics component | |
| void | InterpolateData
(
const FNetworkPhysicsData& MinData, |
Interpolate the data in between two inputs | |
| void | MergeData
(
const FNetworkPhysicsData& FromData |
Merge data when multiple inputs happen an same simulation tick | |
| bool | NetSerialize
(
FArchive& Ar, |
Serialize data function that will be used to transfer the struct across the network |