Navigation
API > API/Plugins > API/Plugins/AudioMotorSim
Properties that represent the current state of the motor sim, and persist between updates
| Name | FAudioMotorSimRuntimeContext |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/AudioMotorSim/Source/AudioMotorSim/Public/AudioMotorSimTypes.h |
| Include Path | #include "AudioMotorSimTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FAudioMotorSimRuntimeContext
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShifting | bool | True while the motor is performing a gear shift | AudioMotorSimTypes.h |
|
| Gear | int32 | Which gear the motor is in, if it uses gears | AudioMotorSimTypes.h |
|
| Pitch | float | Pitch to set on the output component | AudioMotorSimTypes.h |
|
| Rpm | float | Normalized RPM [0-1] of the motor | AudioMotorSimTypes.h |
|
| VirtualSpeedKmh | float | The virtual speed calculated by the Motor Physics Simulation | AudioMotorSimTypes.h |
|
| Volume | float | Volume to set on the output component | AudioMotorSimTypes.h |
|