MotionPath(bpy_struct)

base class — bpy_struct

class bpy.types.MotionPath(bpy_struct)

Cache of the world-space positions of an element over a frame range

color

Custom color for motion path before the current frame (array of 3 items, in [0, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

color_post

Custom color for motion path after the current frame (array of 3 items, in [0, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

frame_end

End frame of the stored range (in [-inf, inf], default 0, readonly)

Type:

int

frame_start

Starting frame of the stored range (in [-inf, inf], default 0, readonly)

Type:

int

is_modified

Path is being edited (default False)

Type:

bool

length

Number of frames cached (in [-inf, inf], default 0, readonly)

Type:

int

line_thickness

Line thickness for motion path (in [1, 6], default 0)

Type:

int

lines

Use straight lines between keyframe points (default False)

Type:

bool

points

Cached positions per frame (default None, readonly)

Type:

bpy_prop_collection[MotionPathVert]

use_bone_head

For PoseBone paths, use the bone head location when calculating this path (default False, readonly)

Type:

bool

use_custom_color

Use custom color for this motion path (default False)

Type:

bool

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