Synced
EditorMenuSourceAttribute.Constructor
Section titled “EditorMenuSourceAttribute.Constructor”
- Creates a dynamic menu-source registration for an exact interaction surface.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Interactions.EditorMenuSourceAttribute.EditorMenuSourceAttribute(string area, int priority = 0)Parameters
Section titled “Parameters”Parameter area: The exact menu area that receives placements from the source.
Parameter priority: The ordering priority used when multiple dynamic sources contribute to the surface.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when area is empty.