HandleConfig Config { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Config property of the Editor.NodeEditor.Connection class provides access to the configuration settings for the connection handle. This property is of type Editor.NodeEditor.HandleConfig, which encapsulates various settings that dictate how the connection handle behaves and appears within the node editor.

Usage

To use the Config property, you need to have an instance of the Connection class. You can then access the Config property to get or set the handle configuration. This allows you to customize the connection's behavior and appearance according to your needs.

Example

// Assuming 'connection' is an instance of Editor.NodeEditor.Connection
Editor.NodeEditor.HandleConfig handleConfig = connection.Config;

// Modify the handle configuration as needed
handleConfig.SomeProperty = someValue;

// Apply the modified configuration back to the connection
connection.Config = handleConfig;