ScriptCategoryAttribute

Summary

Allows categorising a member into a hierarchy in the V-Script Node Context Menu Valid categories contain strictly only alphanumeric characters, and are separated with a pipe |

Valid categories include: * "Input|Utility": all members fall under "Input" > "Utility" * "MyHelpers": all members fall under "MyHelpers" * "Audio and Music|Controls": all members fall under "Audio and Music" > "Controls"

Note that if ScriptCategoryAttribute.FlattenType is set to false, and this attribute is applied onto a class/struct/interface/enum, the type itself will fall under the category. For instance for a class MyClass with ScriptCategoryAttribute.FlattenType set to false: * "Input|Helpers": all members fall under "Input" > "Utility" > "MyClass"

Definition

Namespace: SDT4.Managed.Core.Attributes
Assembly: SDT4.Managed.Core.dll

sealed class ScriptCategoryAttribute
Inheritance:

Object ➔ Attribute ➔ ScriptCategoryAttribute

Implements:


Fields

Name Type Description

Properties

Name Type Description
public get; Categories String
public get; set; FlattenType Boolean

Methods