unreal.DrawDebugSkeletonSettings

class unreal.DrawDebugSkeletonSettings(draw_simple_skeleton: bool = False, bone_radius: float = 0.0, bone_segment_num: int = 0, draw_transforms: bool = False, draw_root: bool = False, root_bone_color: LinearColor = Ellipsis)

Bases: StructBase

Settings for debug drawing skeletons

C++ Source:

  • Plugin: DrawDebugLibrary

  • Module: DrawDebugLibrary

  • File: DrawDebugLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bone_radius (float): [Read-Write] Radius of the bones

  • bone_segment_num (int32): [Read-Write] Number of segments in the spheres drawn for the bones

  • draw_root (bool): [Read-Write] If to draw a bone going to the root/component transform

  • draw_simple_skeleton (bool): [Read-Write] Draws a simple skeleton made up of lines rather than the full skeleton

  • draw_transforms (bool): [Read-Write] If to draw small transforms inside the bone spheres

  • root_bone_color (LinearColor): [Read-Write] Color of the root bone when drawn

property bone_radius: float

[Read-Write] Radius of the bones

Type:

(float)

property bone_segment_num: int

[Read-Write] Number of segments in the spheres drawn for the bones

Type:

(int32)

property draw_root: bool

[Read-Write] If to draw a bone going to the root/component transform

Type:

(bool)

property draw_simple_skeleton: bool

[Read-Write] Draws a simple skeleton made up of lines rather than the full skeleton

Type:

(bool)

property draw_transforms: bool

[Read-Write] If to draw small transforms inside the bone spheres

Type:

(bool)

property root_bone_color: LinearColor

[Read-Write] Color of the root bone when drawn

Type:

(LinearColor)