Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore
| Name | UDefaultModularVehicleInputModifier |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/SimModule/ModuleInput.h |
| Include Path | #include "SimModule/ModuleInput.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, MinimalAPI)
class UDefaultModularVehicleInputModifier : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDefaultModularVehicleInputModifier
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDefaultModularVehicleInputModifier
(
const FObjectInitializer& ObjectInitializer |
SimModule/ModuleInput.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UDefaultModularVehicleInputModifier() |
SimModule/ModuleInput.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FallRate | float | Rate at which the input value falls | SimModule/ModuleInput.h |
|
| InputCurveFunction | EFunctionType | Controller input curve, various predefined options, linear, squared, or user can specify a custom curve function | SimModule/ModuleInput.h |
|
| RiseRate | float | Rate at which the input value rises | SimModule/ModuleInput.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual float CalcControlFunction
(
float InputValue |
SimModule/ModuleInput.h | ||
virtual FModuleInputValue InterpInputValue
(
float DeltaTime, |
Controller input curve - should be a normalized float curve, i.e. time from 0 to 1 and values between 0 and 1 This curve is only sued if the InputCurveFunction above is set to CustomCurve Change an output value using max rise and fall rates | SimModule/ModuleInput.h |