Navigation
API > API/Plugins > API/Plugins/AudioMotorSimStandardComponents
Derives Gear and RPM directly from speed using hand drawn curves and gear thresholds.
| Name | URpmCurveMotorSimComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioMotorSim/Source/AudioMotorSimStandardComponents/Public/RpmCurveMotorSimComponent.h |
| Include Path | #include "RpmCurveMotorSimComponent.h" |
Syntax
UCLASS (ClassGroup="AudioMotorSim", Meta=(BlueprintSpawnableComponent))
class URpmCurveMotorSimComponent : public UAudioMotorSimComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UAudioMotorSimComponent → URpmCurveMotorSimComponent
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Gears | TArray< FMotorSimGearCurve > | RpmCurveMotorSimComponent.h |
|
|
| InterpSpeed | float | RpmCurveMotorSimComponent.h |
|
|
| OnDownShift | FOnGearChangedEvent | RpmCurveMotorSimComponent.h |
|
|
| OnUpShift | FOnGearChangedEvent | RpmCurveMotorSimComponent.h |
|
Functions
Public
Overridden from IAudioMotorSim
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Update
(
FAudioMotorSimInputContext& Input, |
RpmCurveMotorSimComponent.h |