docs.unity3d.com
    Show / Hide Table of Contents

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023