mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
This commit is contained in:
parent
83d54ab2ad
commit
dd6443193c
40 changed files with 283 additions and 81 deletions
|
|
@ -1379,13 +1379,6 @@ void fragment() {
|
|||
}
|
||||
)");
|
||||
selection_materials.selected_mat->set_shader(selected_sh);
|
||||
|
||||
// Register properties in editor settings.
|
||||
EDITOR_DEF_RST("editors/3d_gizmos/gizmo_colors/skeleton", Color(1, 0.8, 0.4));
|
||||
EDITOR_DEF_RST("editors/3d_gizmos/gizmo_colors/selected_bone", Color(0.8, 0.3, 0.0));
|
||||
EDITOR_DEF("editors/3d_gizmos/gizmo_settings/bone_axis_length", (float)0.1);
|
||||
EDITOR_DEF("editors/3d_gizmos/gizmo_settings/bone_shape", 1);
|
||||
EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::INT, "editors/3d_gizmos/gizmo_settings/bone_shape", PROPERTY_HINT_ENUM, "Wire,Octahedron"));
|
||||
}
|
||||
|
||||
Skeleton3DGizmoPlugin::~Skeleton3DGizmoPlugin() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue