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
Implements Interfaces
Variables
Public
| Name |
Type |
Remarks |
Include Path |
Unreal Specifiers |
| BlowoffMinThrottleTime |
float |
|
ThrottleStateMotorSimComponent.h |
- EditAnywhere
- BlueprintReadWrite
- Category="ThrottleState"
- Meta=(ClampMin="0.0")
|
| OnEngineBlowoff |
FOnEngineBlowoff |
Fires when the throttle is released, keeping track of how long the throttle was held for. |
ThrottleStateMotorSimComponent.h |
- BlueprintAssignable
- Category="ThrottleState"
|
| OnThrottleEngaged |
FOnThrottleChanged |
|
ThrottleStateMotorSimComponent.h |
- BlueprintAssignable
- Category="ThrottleState"
|
| OnThrottleReleased |
FOnThrottleChanged |
|
ThrottleStateMotorSimComponent.h |
- BlueprintAssignable
- Category="ThrottleState"
|
Protected
| Name |
Type |
Remarks |
Include Path |
Unreal Specifiers |
| bPrevCarAccelerating |
bool |
|
ThrottleStateMotorSimComponent.h |
|
| bPrevCarIdling |
bool |
|
ThrottleStateMotorSimComponent.h |
|
| FullThrottleTime |
float |
|
ThrottleStateMotorSimComponent.h |
|
Functions