Navigation
API > API/Plugins > API/Plugins/AudioMotorSimStandardComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAudioMotorSimComponent
- UBoostMotorSimComponent
References
| Module | AudioMotorSimStandardComponents |
| Header | /Engine/Plugins/Runtime/AudioMotorSim/Source/AudioMotorSimStandardComponents/Public/BoostMotorSimComponent.h |
| Include | #include "BoostMotorSimComponent.h" |
Syntax
UCLASS&40;ClassGroup&61;"AudioMotorSim", Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UBoostMotorSimComponent : public UAudioMotorSimComponent
Remarks
Uses Boost input to momentarily scale throttle input and pitch output
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bModifyPitch | Whether scale the overall pitch by the boost strength | |
| FRuntimeFloatCurve | BoostToPitchCurve | Curve to derive final pitch value (in playback speed) from boost strength. | |
| float | InterpExp | Controls shape of the scaling | |
| float | InterpTime | How fast the torque scales when starting to boost. | |
| float | PitchModifierInterpSpeed | Speed at which pitch approaches its target value. | |
| bool | ScaleThrottleWithBoostStrength | Whether to use the boost strength to scale ThrottleScale, or just check if it is > 0 to apply the throttle scalar | |
| float | ThrottleScale | Scale the engine torque by this value when boost is active. |
Overridden from IAudioMotorSim
| Type | Name | Description | |
|---|---|---|---|
| void | Reset () |
Use to reset any state that might be desired. Will be called automatically if the entire MotorSim is Reset, or call it manually. | |
| void | Update
(
FAudioMotorSimInputContext& Input, |