- Added optional description panel to visject CM

- Enbaled description panel for visual scripting
- Archetype description now gets drawn in description panel
This commit is contained in:
Nils Hausfeld
2024-06-09 13:45:53 +02:00
parent 50c29f6a9b
commit fa67d0581e
5 changed files with 58 additions and 2 deletions

View File

@@ -535,6 +535,11 @@ namespace FlaxEditor.Surface
/// </summary>
public virtual bool CanSetParameters => false;
/// <summary>
/// True of the context menu should make use of a description panel drawn at the bottom of the menu
/// </summary>
public virtual bool UseContextMenuDescriptionPanel => false;
/// <summary>
/// Gets a value indicating whether surface supports/allows live previewing graph modifications due to value sliders and color pickers. True by default but disabled for shader surfaces that generate and compile shader source at flight.
/// </summary>