Navigation
API > API/Plugins > API/Plugins/ChaosModularVehicleEngine
Vehicle input data that will be used in the input history to be applied while simulating
| Name | FNetworkModularVehicleInputs |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ChaosModularVehicle/Source/ChaosModularVehicleEngine/Public/ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h |
| Include Path | #include "ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h" |
Syntax
USTRUCT ()
struct FNetworkModularVehicleInputs : public FNetworkPhysicsData
Inheritance Hierarchy
- FNetworkPhysicsPayload → FNetworkPhysicsData → FNetworkModularVehicleInputs
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| VehicleInputs | FModularVehicleInputs | List of incoming control inputs coming from the local client | ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool NetSerialize
(
FArchive& Ar, |
Serialize data function that will be used to transfer the struct across the network | ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h |
Overridden from FNetworkPhysicsData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyData
(
UActorComponent* NetworkComponent |
Apply the data onto the network physics component | ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h | |
virtual void BuildData
(
const UActorComponent* NetworkComponent |
Build the data from the network physics component | ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h | |
virtual void InterpolateData
(
const FNetworkPhysicsData& MinData, |
Interpolate the data in between two inputs | ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h | |
virtual void MergeData
(
const FNetworkPhysicsData& FromData |
Merge data when multiple inputs happen an same simulation tick | ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h |
Overridden from FNetworkPhysicsPayload
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DecayData
(
float DecayAmount |
Decay data during resimulation by DecayAmount which increases over resimulation frames from 0.0 -> 1.0 when the input is being reused | ChaosModularVehicle/ChaosSimModuleManagerAsyncCallback.h |