Table of Contents

Class ObjectOutputPins

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

Represents a collection of output pins for a node capable of outputting the properties of an object or value type.

public class ObjectOutputPins
Inheritance
object
ObjectOutputPins

Constructors

ObjectOutputPins(Node)

Creates an instance of the ObjectOutputPins class.

public ObjectOutputPins(Node node)

Parameters

node Node

The node the object output was created for.

Properties

CurrentType

Gets the current type the node's pins are set up for.

public Type? CurrentType { get; }

Property Value

Type

Node

Gets the node the object output was created for.

public Node Node { get; }

Property Value

Node

Pins

Gets a read only collection of the pins outputting the object of this object node.

public ReadOnlyCollection<OutputPin> Pins { get; }

Property Value

ReadOnlyCollection<OutputPin>

Methods

ChangeType(Type?)

Change the current type and create pins on the node to reflect this.

public void ChangeType(Type? type)

Parameters

type Type

The type to change the collection to.

SetCurrentValue(object?)

Set the current value to be output onto connected pins.

public void SetCurrentValue(object? value)

Parameters

value object

The value to output onto the connected pins.

Exceptions

ArtemisCoreException