GreasePencilTimeModifierSegment(bpy_struct)

base class — bpy_struct

class bpy.types.GreasePencilTimeModifierSegment(bpy_struct)

Configuration for a single dash segment

name

Name of the dash segment (default “”, never None)

Type:

str

segment_end

Last frame of the segment (in [0, 32767], default 2)

Type:

int

segment_mode

(default 'NORMAL')

  • NORMAL Regular – Apply offset in usual animation direction.

  • REVERSE Reverse – Apply offset in reverse animation direction.

  • PINGPONG Ping Pong – Loop back and forth.

Type:

Literal[‘NORMAL’, ‘REVERSE’, ‘PINGPONG’]

segment_repeat

Number of cycle repeats (in [1, 32767], default 1)

Type:

int

segment_start

First frame of the segment (in [0, 32767], default 1)

Type:

int

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