Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates immutable display data that can safely outlive the extension that described it.

API: scripting
Project: Inno.Editor.Graph.ImGui
Scope: Editor

public InnoEditor.Graph.GraphCanvasNode.GraphCanvasNode(InnoEngine.Graphs.GraphNodeId id, InnoEngine.Graphs.GraphPosition position, System.Numerics.Vector2 size, float headerHeight, string title, System.Collections.Generic.IEnumerable<InnoEditor.Graph.GraphCanvasPort> ports)

Parameter id: The existing graph node identity.

Parameter position: The node’s document position in graph coordinates.

Parameter size: Finite positive width and height in graph coordinates.

Parameter headerHeight: The header extent, within the node height.

Parameter title: A display title already interpreted by its domain owner.

Parameter ports: Immutable neutral endpoint descriptions; the collection is copied.

Exception T:System.ArgumentNullException: The title or port collection is null.

Exception T:System.ArgumentException: A node or port identity is invalid, duplicated or owned by a different node.

Exception T:System.ArgumentOutOfRangeException: The node’s geometry is nonfinite or has an invalid extent.