Class ObjectOutputPins
Represents a collection of output pins for a node capable of outputting the properties of an object or value type.
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public class ObjectOutputPins
Constructors
ObjectOutputPins(Node)
Creates an instance of the ObjectOutputPins class.
Declaration
public ObjectOutputPins(Node node)
Parameters
Type | Name | Description |
---|---|---|
Node | node | The node the object output was created for. |
Properties
CurrentType
Gets the current type the node's pins are set up for.
Declaration
public Type? CurrentType { get; }
Property Value
Type | Description |
---|---|
Type |
Node
Gets the node the object output was created for.
Declaration
public Node Node { get; }
Property Value
Type | Description |
---|---|
Node |
Pins
Gets a read only collection of the pins outputting the object of this object node.
Declaration
public ReadOnlyCollection<OutputPin> Pins { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<OutputPin> |
Methods
ChangeType(Type?)
Change the current type and create pins on the node to reflect this.
Declaration
public void ChangeType(Type? type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type to change the collection to. |
SetCurrentValue(object?)
Set the current value to be output onto connected pins.
Declaration
public void SetCurrentValue(object? value)
Parameters
Type | Name | Description |
---|---|---|
object | value | The value to output onto the connected pins. |
Exceptions
Type | Condition |
---|---|
ArtemisCoreException |