Navigation
API > API/Plugins > API/Plugins/ChaosModularVehicleEngine > API/Plugins/ChaosModularVehicleEngine/ChaosModularVehicle
Inheritance Hierarchy
- FNetworkPhysicsData
- FNetworkModularVehicleStates
References
| Module | ChaosModularVehicleEngine |
| Header | /Engine/Plugins/Experimental/ChaosModularVehicle/Source/ChaosModularVehicleEngine/Public/ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h |
| Include | #include "ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h" |
Syntax
USTRUCT ()
struct FNetworkModularVehicleStates : public FNetworkPhysicsData
Remarks
Vehicle state data that will be used in the state history to rewind the simulation
Variables
| Type | Name | Description | |
|---|---|---|---|
| Chaos::FModuleNetDataArray | ModuleData |
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 states | |
| bool | NetSerialize
(
FArchive& Ar, |
Serialize data function that will be used to transfer the struct across the network |