ScenePointsTools ​
Inherits: HSplitContainer
THE POINTS TOOL (2026-11-14, the user: the points of a skeleton set in our editor with a 3D tool, as the weapon mesh tools set a weapon's; the move gizmo on them). The list of the points of the scene on the left (a point the scene lacks says "missing": Add missing points makes them where they go by default), the scene in a large 3D view on the right (a skeleton playing an animation you choose: a point follows its bone). Every point is a dot in the view (click one to pick it); the picked one has the move gizmo: hold an arrow and drag (Ctrl: snap 1 cm). Under the list: the bone the point is on (a skeleton), its position and turn on that bone (typed), quarter turns, Reset (where it goes by default), and to judge it: an effect played on the point, a weapon held in the grips. Every change is saved into the scene file at once (the scene a kind of points says: ScenePoints), so the game and Godot's own scene view have it. Used by Entity Assets > Skeletons (SkeletonPoints) and Entity Assets > Interactable Scenes (InteractablePoints).
Variables ​
ScenePoints | model | null |
String | scene_path | "" |
Node | shown_root | null |
Node | edit_root | null |
String | picked | "" |
AssetViewport3D | viewport | null |
AxisGizmo3D | gizmo | null |
ItemList | point_list | null |
Button | add_missing_button | null |
Label | picked_label | null |
Label | used_label | null |
HBoxContainer | bone_row | null |
OptionButton | bone_option | null |
Array[SpinBox] | position_spins | [] |
Array[SpinBox] | rotation_spins | [] |
Button | reset_button | null |
OptionButton | effect_option | null |
OptionButton | weapon_option | null |
HBoxContainer | weapon_row | null |
Label | status_label | null |
VBoxContainer | editor_box | null |
Methods ​
void | edit_skeleton( skeleton_name: String, path: String ) |
void | edit_interactable( path: String ) |
void | clear() |
void | pick( key: String ) |
void | add_missing() |
void | set_point_transform( key: String, at: Transform3D ) |
void | turn_picked( axis: Vector3 ) |
void | reset_picked() |
Signals ​
point_saved( key: String ) ​
A point was changed and saved (its key)
Constants ​
floatDOT_RADIUS =0.022ColorCOLOR_DOT =Color(0.85, 0.9, 1.0, 0.85)ColorCOLOR_PICKED =Color(1.0, 0.85, 0.2, 1.0)ColorCOLOR_GRIP =Color(1.0, 0.55, 0.25, 0.9)floatPICK_PIXELS =12.0
Variable descriptions ​
ScenePoints model = null ​
The kind of scene (its points), the file, the instance shown in the view (in the tree) and the copy that is saved
String scene_path = "" ​
No description yet.
Node shown_root = null ​
No description yet.
Node edit_root = null ​
No description yet.
String picked = "" ​
The point picked ("" none)
AssetViewport3D viewport = null ​
No description yet.
AxisGizmo3D gizmo = null ​
No description yet.
ItemList point_list = null ​
No description yet.
Button add_missing_button = null ​
No description yet.
Label picked_label = null ​
No description yet.
Label used_label = null ​
No description yet.
HBoxContainer bone_row = null ​
No description yet.
OptionButton bone_option = null ​
No description yet.
Array[SpinBox] position_spins = [] ​
No description yet.
Array[SpinBox] rotation_spins = [] ​
No description yet.
Button reset_button = null ​
No description yet.
OptionButton effect_option = null ​
No description yet.
OptionButton weapon_option = null ​
No description yet.
HBoxContainer weapon_row = null ​
No description yet.
Label status_label = null ​
No description yet.
VBoxContainer editor_box = null ​
No description yet.
Method descriptions ​
void edit_skeleton( skeleton_name: String, path: String ) ​
Edits the points of a skeleton (shown as the figure of the view, playing an animation)
void edit_interactable( path: String ) ​
Edits the markers of an interactable scene (shown in the middle of the view)
void clear() ​
Empties the tool
void pick( key: String ) ​
Picks a point: the gizmo goes on it, its fields show it, the effect plays on it
void add_missing() ​
Makes every point the scene lacks, and saves it
void set_point_transform( key: String, at: Transform3D ) ​
Sets a point's transform on what it is on (the shown one and the copy), and saves
void turn_picked( axis: Vector3 ) ​
A quarter turn of the picked point round an axis of its bone
void reset_picked() ​
No description yet.