Navigation
API > API/Plugins > API/Plugins/ChaosVehicles
Vehicle Inputs data that will be used in the inputs history to be applied while simulating
| Name | FNetworkVehicleInputs |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosVehicleManagerAsyncCallback.h |
| Include Path | #include "ChaosVehicleManagerAsyncCallback.h" |
Syntax
USTRUCT ()
struct FNetworkVehicleInputs : public FNetworkPhysicsData
Inheritance Hierarchy
- FNetworkPhysicsData → FNetworkVehicleInputs
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TransmissionChangeTime | float | Transmission change time that could be set/changed from GT | ChaosVehicleManagerAsyncCallback.h | |
| TransmissionCurrentGear | int32 | Transmission current gear that could be set/changed from GT | ChaosVehicleManagerAsyncCallback.h | |
| TransmissionTargetGear | int32 | Transmission target gear that could be set/changed from GT | ChaosVehicleManagerAsyncCallback.h | |
| VehicleInputs | FControlInputs | List of incoming control inputs coming from the local client | ChaosVehicleManagerAsyncCallback.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 | ChaosVehicleManagerAsyncCallback.h |
Overridden from FNetworkPhysicsData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyData
(
UActorComponent* NetworkComponent |
Apply the data onto the network physics component | ChaosVehicleManagerAsyncCallback.h | |
virtual void BuildData
(
const UActorComponent* NetworkComponent |
Build the data from the network physics component | ChaosVehicleManagerAsyncCallback.h | |
virtual const FString DebugData() |
Return string with input debug data | ChaosVehicleManagerAsyncCallback.h | |
virtual void DecayData
(
float DecayAmount |
Decay input during resimulation | ChaosVehicleManagerAsyncCallback.h | |
virtual void InterpolateData
(
const FNetworkPhysicsData& MinData, |
Interpolate the data in between two inputs data | ChaosVehicleManagerAsyncCallback.h | |
virtual void MergeData
(
const FNetworkPhysicsData& FromData |
Merge data into this input | ChaosVehicleManagerAsyncCallback.h |