Table of Contents

Class InputSlotInfo

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

name string
type Type

InputSlotInfo(Type)

public InputSlotInfo(Type type)

Parameters

type Type

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

bool

Optional

public bool Optional

Field Value

bool

RequestDataOnly

This slot gets data from its linked output slots only when this slot requests it.

public bool RequestDataOnly

Field Value

bool

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

outType Type

Returns

bool