simvx.editor.panels.inspector_sections._collision_section

CollisionShapeSection – shape type + parameters.

Edits the shape Property of a :class:CollisionShape2D / :class:CollisionShape3D node. Geometry lives in a :class:Shape / :class:Shape2D resource (a plain value): the dropdown swaps the resource kind and the SpinBox / VectorRow rows rebuild a fresh resource of the same kind with the edited field, assigning it back through the shape Property so the change is undoable and serialised.

Registered with the section registry via @register_inspector_section at import time.

Module Contents

Classes

API

class simvx.editor.panels.inspector_sections._collision_section.CollisionShapeSection[source]

Bases: simvx.editor.panels.inspector_sections._base.InspectorSection

section_title

‘Collision Shape’

priority

30

can_handle(node)[source]
handled_properties(node)[source]
build_rows(node, ctx)[source]
__slots__

()