Class SlotInfo
- Namespace
- FluffyUnderware.Curvy.Generator
Attribute to define slot properties
[AttributeUsage(AttributeTargets.Field)]
public class SlotInfo : Attribute
- Inheritance
-
SlotInfo
- Derived
Constructors
SlotInfo(string, Type)
protected SlotInfo(string name, Type type)
Parameters
Fields
Array
Whether or not the slot accepts an array of CGData instances or a single instance of it
public bool Array
Field Value
ArrayType
When Array is true, this value defines what type of Array is used
public SlotInfo.SlotArrayType ArrayType
Field Value
DataType
public readonly Type DataType
Field Value
Name
If empty Field's name will be used, with slight modifications
public string Name
Field Value
Tooltip
public string Tooltip
Field Value
Properties
DisplayName
If not null, this string will be used in the UI, while Name will be used in the data serialization and slots linking logic
public string DisplayName { get; set; }
Property Value
Methods
CheckDataTypes()
public void CheckDataTypes()
CompareTo(object)
public int CompareTo(object obj)
Parameters
objobject