FilterModifier Modifier { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Modifier property of the FilterPart struct in the Editor.NodeEditor namespace represents a filter modifier that can be applied to a node editor filter part. This property is of type FilterModifier, which defines the specific modification or operation to be applied to the filter part.

Usage

To use the Modifier property, you need to have an instance of the FilterPart struct. You can access the Modifier property to get or set the filter modifier associated with that filter part. This is useful when you need to define or modify the behavior of a filter in a node editor context.

Example

// Example of using the Modifier property

// Assume FilterModifier is an enum or class defined elsewhere
FilterPart filterPart = new FilterPart();

// Set the Modifier property
filterPart.Modifier = FilterModifier.SomeModifier;

// Get the Modifier property
FilterModifier currentModifier = filterPart.Modifier;

// Use the Modifier in some logic
if (currentModifier == FilterModifier.SomeModifier)
{
    // Perform some action based on the modifier
}