Class InputSlotInfo
- Namespace
- FluffyUnderware.Curvy.Generator
Attribute to define input slot properties
[AttributeUsage(AttributeTargets.Field)]
public sealed class InputSlotInfo : SlotInfo
- Inheritance
-
InputSlotInfo
- Inherited Members
Constructors
InputSlotInfo(string, Type)
public InputSlotInfo(string name, Type type)
Parameters
InputSlotInfo(Type)
public InputSlotInfo(Type type)
Parameters
typeType
Fields
ModifiesData
Whether this data is altered by the module. If true, the module providing data to this slot will return a copy of its data, and not the original copy, so you can safely modify it.
public bool ModifiesData
Field Value
Optional
public bool Optional
Field Value
RequestDataOnly
This slot gets data from its linked output slots only when this slot requests it.
public bool RequestDataOnly
Field Value
Methods
IsValidFrom(Type)
Gets whether outType is of same type or a subtype of one of our input types
public bool IsValidFrom(Type outType)
Parameters
outTypeType