NDOFMotionEventData(bpy_struct)

base class — bpy_struct

class bpy.types.NDOFMotionEventData(bpy_struct)

NDOF motion data for window manager events

progress

Indicates the gesture phase (default 'STARTING', readonly)

Type:

Literal[‘STARTING’, ‘IN_PROGRESS’, ‘FINISHING’]

rotation

Axis-angle rotation of this motion event. The vector magnitude is the angle where 1.0 represents 360 degrees. The angle is typically scaled by the time-delta before use. (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0), readonly)

Type:

mathutils.Vector

time_delta

Time since previous motion event (in seconds) (in [-inf, inf], default 0.0, readonly)

Type:

float

translation

The translation of this motion event. The range on each axis is [-1 to 1], before being multiplied by the sensitivity preference. This is typically scaled by the time-delta before use. (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0), readonly)

Type:

mathutils.Vector

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References