Skip to content

ShapeConfigDialog ​

Inherits: AcceptDialog

A dialog that configures a 3D shape: the player chooses the kind of shape and sets its dimensions, and selection_made gives the shape.

Variables ​

ShapeTypecurrent_shape_typeShapeType.WEDGE

Methods ​

voidedit_projectile_shape( current_shape: Shape3D, dialog_title: String = "Configure Shape", context: String = "" )

Signals ​

selection_made( shape: Shape3D ) ​

Enumerations ​

enum ShapeType ​

  • WEDGE = 1
  • ARC = 2
  • DIRECTIONAL_LINE = 3
  • CONE = 4
  • TRUNCATED_CONE = 5
  • SPHERE = 8
  • DOME = 9
  • BOX = 10
  • CYLINDER = 11
  • LINE = 12
  • DONUT = 13
  • CROSS = 14
  • DIAMOND = 15
  • CAPSULE = 16

Variable descriptions ​

ShapeType current_shape_type = ShapeType.WEDGE ​

No description yet.

Method descriptions ​

void edit_projectile_shape( current_shape: Shape3D, dialog_title: String = "Configure Shape", context: String = "" ) ​

Initialize dialog for editing a projectile shape