ModifierIcons

References
public sealed class ModifierIcons
Contains an ordered list of modifier icons which apply to a parameter.

Fields

Empty

#
public static ModifierIcons Empty
Gets the empty modifier icon set.

Properties

Count

#
public int Count { get; }
Gets the number of icons in this set.

Methods

Append

#
public ModifierIcons Append(IIcon icon, string name, string info)
Add an icon to this set.
icon (IIcon)
name (string)
info (string)

Icon

#
public IIcon Icon(int index)
Gets the icon at the given index.
index (int)

Info

#
public string Info(int index)
Gets the info at the given index.
index (int)

Name

#
public string Name(int index)
Gets the name at the given index.
index (int)

Prepend

#
[EditorBrowsable(EditorBrowsableState.Never)] public ModifierIcons Prepend(IIcon icon, string name, string info)
Add an icon to this set in the first place. It is highly recommended to never do this as it messes with the default ordering of icons.
icon (IIcon)
name (string)
info (string)

Remove

#
Remove one of the icons from this set.
index (int)Index of icon to remove.
Modified set.