VibrationActuator(Actuator)
base classes — bpy_struct, Actuator
- class bpy.types.VibrationActuator(Actuator)
Actuator to set vibration of a joystick
- joy_duration
Joystick vibration duration (in [0, inf], default 0)
- Type:
int
- joy_index
Joystick index (in [0, 7], default 0)
- Type:
int
- joy_strength_left
Joystick vibration strength for low frequency motor (in [0, 1], default 0.0)
- Type:
float
- joy_strength_right
Joystick vibration strength for high frequency motor (in [0, 1], default 0.0)
- Type:
float
- mode
Joystick vibration mode (default
'PLAY')- Type:
Literal[‘PLAY’, ‘STOP’]
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type