Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
EditorNode3DGizmoPlugin¶
Inherits: Resource < RefCounted < Object
A class used by the editor to define Node3D gizmo types.
Description¶
EditorNode3DGizmoPlugin allows you to define a new type of Gizmo. There are two main ways to do so: extending EditorNode3DGizmoPlugin for the simpler gizmos, or creating a new EditorNode3DGizmo type. See the tutorial in the documentation for more info.
To use EditorNode3DGizmoPlugin, register it using the EditorPlugin.add_node_3d_gizmo_plugin method first.
Tutorials¶
Methods¶
_can_be_hidden ( ) virtual const |
|
void |
_commit_handle ( EditorNode3DGizmo gizmo, int handle_id, bool secondary, Variant restore, bool cancel ) virtual |
void |
_commit_subgizmos ( EditorNode3DGizmo gizmo, PackedInt32Array ids, Transform3D[] restores, bool cancel ) virtual |
_create_gizmo ( Node3D for_node_3d ) virtual const |
|
_get_gizmo_name ( ) virtual const |
|
_get_handle_name ( EditorNode3DGizmo gizmo, int handle_id, bool secondary ) virtual const |
|
_get_handle_value ( EditorNode3DGizmo gizmo, int handle_id, bool secondary ) virtual const |
|
_get_priority ( ) virtual const |
|
_get_subgizmo_transform ( EditorNode3DGizmo gizmo, int subgizmo_id ) virtual const |
|
_has_gizmo ( Node3D for_node_3d ) virtual const |
|
_is_handle_highlighted ( EditorNode3DGizmo gizmo, int handle_id, bool secondary ) virtual const |
|
_is_selectable_when_hidden ( ) virtual const |
|
void |
_redraw ( EditorNode3DGizmo gizmo ) virtual |
vo |