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