Navigation
API > API/Plugins > API/Plugins/AudioMotorSimStandardComponents
Provides events for when the throttle changes state.
| Name | UThrottleStateMotorSimComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioMotorSim/Source/AudioMotorSimStandardComponents/Public/ThrottleStateMotorSimComponent.h |
| Include Path | #include "ThrottleStateMotorSimComponent.h" |
Syntax
UCLASS (ClassGroup="AudioMotorSim", Meta=(BlueprintSpawnableComponent))
class UThrottleStateMotorSimComponent : public UAudioMotorSimComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UAudioMotorSimComponent → UThrottleStateMotorSimComponent
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BlowoffMinThrottleTime | float | ThrottleStateMotorSimComponent.h |
|
|
| OnEngineBlowoff | FOnEngineBlowoff | Fires when the throttle is released, keeping track of how long the throttle was held for. | ThrottleStateMotorSimComponent.h |
|
| OnThrottleEngaged | FOnThrottleChanged | ThrottleStateMotorSimComponent.h |
|
|
| OnThrottleReleased | FOnThrottleChanged | ThrottleStateMotorSimComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bPrevCarAccelerating | bool | ThrottleStateMotorSimComponent.h | ||
| bPrevCarIdling | bool | ThrottleStateMotorSimComponent.h | ||
| FullThrottleTime | float | ThrottleStateMotorSimComponent.h |
Functions
Public
Overridden from IAudioMotorSim
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Reset() |
ThrottleStateMotorSimComponent.h | ||
virtual void Update
(
FAudioMotorSimInputContext& Input, |
ThrottleStateMotorSimComponent.h |