Version: 2023.1

QueryGraphOptimizationOptions

struct in UnityEditor.Search

切换到手册

描述

Structure containing the different options used to optimize a query graph.

变量

propagateNotToLeavesPropagate "Not" operations to leaves, so only leaves can have "Not" operations as parents.
swapFilterFunctionsToRightHandSideSwaps filter functions to the right-hand side of combining operations (i.e. "And", "Or"). Useful if those filter operations are slow.
swapNotToRightHandSideSwaps "Not" operations to the right-hand side of combining operations (i.e. "And", "Or"). Useful if a "Not" operation is slow.