DelaySensor(Sensor)

base classes — bpy_struct, Sensor

class bpy.types.DelaySensor(Sensor)

Sensor to send delayed events

delay

Delay in number of logic tics before the positive trigger (default 60 per second)

Type:

int in [0, 5000], default 0

duration

If >0, delay in number of logic tics before the negative trigger following the positive trigger

Type:

int in [0, 5000], default 0

use_repeat

Toggle repeat option (if selected, the sensor restarts after Delay+Duration logic tics)

Type:

boolean, default False

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