Preparing search index...

    Defines a binding parameter for a render pass with metadata for UI presentation and value constraints.

        const model = this.pluginSystem.findInterface(Editor.Model.IModel) as Editor.Model.IModel;
    const assetManager = model.project.assetManager;

    // Find Material assets and inspect PassBindings via passInfos
    const materials = assetManager.assets.filter(
    a => a.getTypeName() === 'Material'
    ) as Editor.Assets.Material[];

    let totalBindings = 0;
    for (const material of materials) {
    for (const info of material.passInfos) {
    const uiData = info.uiData;
    if (!uiData) continue;

    // Each PassBinding exposes: name, label, type, hint, defaultValue,
    // min/max/step for numeric ranges, and values for enum-like dropdowns
    totalBindings += uiData.passBindings.length;
    }
    }

    console.log(`Inspected ${materials.length} material(s), ${totalBindings} pass binding(s)`);
    Index

    Constructors

    Properties

    defaultValue?: number

    Initial numeric value for the binding parameter.

    hint: string

    Tooltip or help text displayed in the UI.

    label: string

    Human-readable name shown in the UI.

    max?: number

    Maximum allowed numeric value.

    min?: number

    Minimum allowed numeric value.

    name: string

    Unique identifier for the binding parameter.

    step?: number

    Increment step size for numeric input.

    Data type of the binding parameter.

    values: PassBinding[]

    Array of valid string values for enum-type bindings.