Description
The Default
property of the ConnectionHandleConfig
struct represents the default value for a connection handle configuration in the node editor. This value is used when no specific value is provided for a connection handle, ensuring a consistent and predictable behavior in the editor.
Usage
To use the Default
property, you can access it directly from an instance of ConnectionHandleConfig
. This property is useful when you need to retrieve or set the default value for a connection handle configuration.
Example
// Example of accessing the Default property
// Create an instance of ConnectionHandleConfig
ConnectionHandleConfig config = new ConnectionHandleConfig();
// Access the Default property
float defaultValue = config.Default;
// Set a new default value
config.Default = 0.5f;