-
Notifications
You must be signed in to change notification settings - Fork 9
Unreal
hannes edited this page Jul 19, 2023
·
9 revisions
load UniMenu on startup with init_unreal.py
style_names
can be found here ...\Engine\Source\Editor\EditorStyle\Private\SlateEditorStyle.cpp
- look for the name here
# e.g. Set( "BlueprintEditor.AddNewMacroDeclaration", new IMAGE_BRUSH( "Icons/icon_Blueprint_AddMacro_40px", Icon40x40) );
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
entry.set_icon("EditorStyle", style_name=self.icon)
We support this, but unclear how.
- todo add sample
No documentation on unreal docs for unreal.ToolMenuEntry.add_icon() Believe it relates too ScriptSlateIcon Discussing on the forum
it is not possible to register custom icons with Python, can only use the built-in icons
Icon's are here ...\Engine\Content\Editor\Slate\Icons
- look for the icon name here
TODO, figure out how to
- might be able to use the resource browser for custom icons
Applications
Dev Docs
Other