Struct QueryGraphOptimizationOptions
Structure containing the different options used to optimize a query graph.
Namespace: UnityEditor.Search
Syntax
public struct QueryGraphOptimizationOptions
Fields
propagateNotToLeaves
Propagate "Not" operations to leaves, so only leaves can have "Not" operations as parents.
Declaration
public bool propagateNotToLeaves
Field Value
Type | Description |
---|---|
Boolean |
swapFilterFunctionsToRightHandSide
Swaps filter functions to the right hand side of combining operations (i.e. "And", "Or"). Useful if those filter operations are slow.
Declaration
public bool swapFilterFunctionsToRightHandSide
Field Value
Type | Description |
---|---|
Boolean |
swapNotToRightHandSide
Swaps "Not" operations to the right hand side of combining operations (i.e. "And", "Or"). Useful if a "Not" operation is slow.
Declaration
public bool swapNotToRightHandSide
Field Value
Type | Description |
---|---|
Boolean |