TimeGpencilModifierSegment(bpy_struct)

base class — bpy_struct

class bpy.types.TimeGpencilModifierSegment(bpy_struct)

Configuration for a single dash segment

name

Name of the dash segment

Type:

string, default “”, (never None)

seg_end

Last frame of the segment

Type:

int in [0, 32767], default 2

seg_mode
  • NORMAL Regular – Apply offset in usual animation direction.

  • REVERSE Reverse – Apply offset in reverse animation direction.

  • PINGPONG Ping Pong – Loop back and forth.

Type:

enum in [‘NORMAL’, ‘REVERSE’, ‘PINGPONG’], default ‘NORMAL’

seg_repeat

Number of cycle repeats

Type:

int in [1, 32767], default 1

seg_start

First frame of the segment

Type:

int in [0, 32767], default 1

classmethod bl_rna_get_subclass(id, default=None)
Parameters:

id (string) – 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 (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References