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

Type

enum in ['STARTING', 'IN_PROGRESS', 'FINISHING'], default "'STARTING'", (readonly)

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.

Type

mathutils.Vector of 3 items in [-inf, inf], default (0.0, 0.0, 0.0), (readonly)

time_delta

Time since previous motion event (in seconds)

Type

float in [-inf, inf], default 0.0, (readonly)

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.

Type

mathutils.Vector of 3 items in [-inf, inf], default (0.0, 0.0, 0.0), (readonly)

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

References