System.Nullable<float> Min { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Min property of the ConnectionHandleConfig struct in the Editor.NodeEditor namespace represents the minimum allowable value for a connection handle configuration. This property is nullable, meaning it can hold a null value, which indicates that there is no minimum constraint set.

Usage

Use the Min property to define or retrieve the minimum value constraint for a connection handle. This can be useful when you need to ensure that a connection value does not fall below a certain threshold. If no minimum is required, the property can be left as null.

Example

// Example of setting the Min property
ConnectionHandleConfig config = new ConnectionHandleConfig();
config.Min = 0.1f; // Set the minimum value to 0.1

// Example of checking the Min property
if (config.Min.HasValue)
{
    float minValue = config.Min.Value;
    // Use minValue as needed
}
else
{
    // No minimum value is set
}