HandleConfig DefaultHandleConfig { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The DefaultHandleConfig property of the GraphView class in the Editor.NodeEditor namespace provides the default configuration for node handles within the graph view. This configuration determines how handles are displayed and interacted with in the node editor environment.

Usage

To access or modify the default handle configuration for a graph view, use the DefaultHandleConfig property. This property is an instance of Editor.NodeEditor.HandleConfig, which contains settings related to the appearance and behavior of node handles.

Example usage:

var graphView = new GraphView();
var handleConfig = graphView.DefaultHandleConfig;
// Modify handleConfig as needed
handleConfig.SomeProperty = newValue;

Example

// Create a new instance of GraphView
GraphView graphView = new GraphView();

// Access the default handle configuration
Editor.NodeEditor.HandleConfig handleConfig = graphView.DefaultHandleConfig;

// Example: Modify a property of the handle configuration
handleConfig.SomeProperty = newValue;