You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
767 B
22 lines
767 B
using System; |
|
|
|
namespace UnityEditor.ShaderGraph |
|
{ |
|
[AttributeUsage(AttributeTargets.Class)] |
|
class BlackboardInputInfo : Attribute |
|
{ |
|
public float priority; |
|
public string name; |
|
|
|
/// <summary> |
|
/// Provide additional information to provide the blackboard for order and name of the ShaderInput item. |
|
/// </summary> |
|
/// <param name="priority">Priority of the item, higher values will result in lower positions in the menu.</param> |
|
/// <param name="name">Name of the item. If null, the class name of the item will be used instead.</param> |
|
public BlackboardInputInfo(float priority, string name = null) |
|
{ |
|
this.priority = priority; |
|
this.name = name; |
|
} |
|
} |
|
}
|
|
|