Skip to content

Class AudityNodeInfoAttribute

Editor-facing metadata an authoring node class declares about itself: palette title, category subtitle, and (optionally) its create-menu path. Nodes without a DarkEffekt.Audity.AudityNodeInfoAttribute.CreatePath are not creatable from the menu (interface nodes enter by dropping a blackboard row). Lives in the runtime assembly so node classes self-describe in one place; the editor discovers these via TypeCache. Titles that depend on instance state override DarkEffekt.Audity.AudityNode.DisplayTitle instead.

Declaration
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class AudityNodeInfoAttribute : Attribute

Inheritance: System.Object -> System.Attribute

Create-menu path (“Sources/Wave Player”); null = not menu-creatable.

Declaration
public string CreatePath { get; set; }

Create-menu sort key (ascending); groups stay together by tens.

Declaration
public int Order { get; set; }

The Audity version this node type first shipped in. A graph stamps the highest one it uses, which is what lets an older Audity say “this asset needs 1.3” instead of guessing from the version it was saved by. Leave it alone when adding a node to an unreleased version; set it to the version that will ship the node when adding one after a release.

Declaration
public string IntroducedIn { get; set; }
Declaration
public readonly string title
Declaration
public readonly string category