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: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public Inno.Editor.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.