Editor Scripting API
    Preparing search index...
    • Adds a pass to the given material and optionally adds define strings to the pass.

      Parameters

      • material: Material

        The material to which the pass will be added.

      • pass: Pass

        The pass to be added to the material.

      • OptionaladdDefineStrings: string[]

        An optional array of define strings to be added to the pass. Defaults to ['ENABLE_BASE_TEX'].

      Returns PassInfo

      The pass information after adding the pass and define strings.

    MMNEPVFCICPMFPCPTTAAATR