Class DotsNodeModel<T>
Quickly define a node model from a runtime node by subclassing this. It owns (and serializes) an instance of the runtime node that will be used during translation. However that instance's port indices will be remapped during translation. Having to define them one by one means we could keep the same model class with a different base class in the future if we realize it won't be a 1 to 1 mapping (eg. a Mul node model might output a MulInt, MulMatrix, ... runtime node)
Implements
ISerializationCallbackReceiver
Inherited Members
NodeModel.m_InputConstants
NodeModel.m_PreviousInputs
NodeModel.m_PreviousOutputs
NodeModel.Move(Vector2)
Namespace: DotsStencil
Assembly: solution.dll
Syntax
public abstract class DotsNodeModel<T> : BaseDotsNodeModel<T>, IInOutPortsNode, IPortNode, IHasTitle, IHasProgress, ICollapsible, ISerializationCallbackReceiver, IDotsNodeModel, IGTFNodeModel, IGTFGraphElementModel, ISelectable, IPositioned, IDeletable, IDroppable, ICopiable, IDestroyable, IPropertyVisitorNodeTarget where T : struct, INode
Type Parameters
Name | Description |
---|---|
T |
Properties
Name | Description |
---|---|
Target |