unreal.DrawDebugLineStyle

class unreal.DrawDebugLineStyle(line_type: DrawDebugLineType = Ellipsis, thickness: float = 0.0, color: LinearColor = Ellipsis, dash_width: float = 0.0, dash_spacing: float = 0.0, dot_spacing: float = 0.0)

Bases: StructBase

Style for debug drawing lines

C++ Source:

  • Plugin: DrawDebugLibrary

  • Module: DrawDebugLibrary

  • File: DrawDebugLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color (LinearColor): [Read-Write] Color of the line. Alpha controls the opacity.

  • dash_spacing (float): [Read-Write] Spacing of the dashes when using dashed style.

  • dash_width (float): [Read-Write] Width of the dashes when using dashed style.

  • dot_spacing (float): [Read-Write] Spacing of the dots when using dotted style.

  • line_type (DrawDebugLineType): [Read-Write] Line style to draw with

  • thickness (float): [Read-Write] Thickness of the line. Set to 0.0 for pixel-sized lines.

property color: LinearColor

[Read-Write] Color of the line. Alpha controls the opacity.

Type:

(LinearColor)

property dash_spacing: float

[Read-Write] Spacing of the dashes when using dashed style.

Type:

(float)

property dash_width: float

[Read-Write] Width of the dashes when using dashed style.

Type:

(float)

property dot_spacing: float

[Read-Write] Spacing of the dots when using dotted style.

Type:

(float)

property line_type: DrawDebugLineType

[Read-Write] Line style to draw with

Type:

(DrawDebugLineType)

property thickness: float

[Read-Write] Thickness of the line. Set to 0.0 for pixel-sized lines.

Type:

(float)