unreal.AudioMotorSimRuntimeContext
¶
- class unreal.AudioMotorSimRuntimeContext(shifting: bool = False, gear: int = 0, rpm: float = 0.0, volume: float = 0.0, pitch: float = 0.0)¶
Bases:
StructBase
properties that represent the current state of the motor sim, and persist between updates
C++ Source:
Plugin: AudioMotorSim
Module: AudioMotorSim
File: AudioMotorSimTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
gear
(int32): [Read-Write] which gear the motor is in, if it uses gearspitch
(float): [Read-Write] pitch to set on the output componentrpm
(float): [Read-Write] normalized RPM [0-1] of the motorshifting
(bool): [Read-Write] true while the motor is performing a gear shiftvolume
(float): [Read-Write] volume to set on the output component