Note
You have to include the header Connector.h.
Connector
Connector of a node.
Error − In any of
these commands, if the communication is off, the following error
code will be reported ErrorCode::CommunicationError
.
// Get the first node of a graph
InstantTerra instantTerra = CreateInstantTerra();
Project project = instantTerra.GetProject();
Graph graph = project.GetGraph();
Node firstNode = graph.GetNode(0);
Connector firstConnector = firstNode.GetConnector(0);
Connector::
GetNameLength
() constReturns the length of the connector
Connector::
GetName
(wchar_t
*buffer, size_t bufferLength) constReturns the name of the connector
Connector::
GetConnectorMode
() constReturns the connector mode: Input, Optional or Output
Connector::
GetConnectorType
() constReturns the connector type: Terrain, Mask, ColorMap, etc.
Copyright © 2022 · All Rights Reserved · Wysilab