Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


QueryGraphOptimizationOptions

Structure containing the different options used to optimize a query graph.
Read time 1 minuteLast updated 13 days ago

Definition

public struct QueryGraphOptimizationOptions

Fields

Value

Description

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.