VibrationActuator(Actuator)

base classes — bpy_struct, Actuator

class bpy.types.VibrationActuator(Actuator)

Actuator to set vibration of a joystick

joy_duration

Joystick vibration duration

Type:

int in [0, inf], default 0

joy_index

Joystick index

Type:

int in [0, 7], default 0

joy_strength_left

Joystick vibration strength for low frequency motor

Type:

float in [0, 1], default 0.0

joy_strength_right

Joystick vibration strength for high frequency motor

Type:

float in [0, 1], default 0.0

mode

Joystick vibration mode

Type:

enum in [‘PLAY’, ‘STOP’], default ‘PLAY’

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:

bpy.types.Struct subclass

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

Inherited Properties

Inherited Functions