unreal.ForceFeedbackEffect

class unreal.ForceFeedbackEffect(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

A predefined force-feedback effect to be played on a controller

C++ Source:

  • Module: Engine

  • File: ForceFeedbackEffect.h

Editor Properties: (see get_editor_property/set_editor_property)

  • channel_details (Array[ForceFeedbackChannelDetails]): [Read-Write]

  • device_properties (Array[InputDeviceProperty]): [Read-Write] A map of input device properties that we want to set while this effect is playing

  • duration (float): [Read-Only] Duration of force feedback pattern in seconds.

  • per_device_overrides (Map[Name, ForceFeedbackEffectOverridenChannelDetails]): [Read-Write] A map of platform name -> ForceFeedback channel details

property duration: float

[Read-Only] Duration of force feedback pattern in seconds.

Type:

(float)