logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SoundMixerExposedParametersTableGui

    The exposed-parameter row table (mixer parameter name to GameSettings Id) drawn by CreateSoundMixerSettingsWindow's Parameters step. Mirrors Serenity.Score.Infrastructure.Editor.ScoreMetricsTableGui's row/Add/Remove/undo shape, applied to ConfigurationEntry rows, with live duplicate/empty-name validation via Serenity.Global.Infrastructure.Editor.SerenityWizardFieldRules.UniqueWithinRows(System.Int32,System.Collections.Generic.IReadOnlyList{System.String},System.String,System.Func{System.Int32,System.String,System.String}). Pure IMGUI presentation: the caller owns the rows list and decides what (if anything) backs undo.

    Inheritance
    object
    SoundMixerExposedParametersTableGui
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.SoundMixer.Installation.Settings.Editor.Builder
    Assembly: Serenity.UnitySoundMixer.Installation.Editor.dll
    Syntax
    public static class SoundMixerExposedParametersTableGui

    Methods

    AddMissingNamesFromMixer(List<ConfigurationEntry>, IReadOnlyList<string>, Object)

    Appends a row for every name in mixerParameterNames that rows does not already contain — the "Read exposed parameters from the mixer" button's action. Never touches an existing row's GameSettings Id column, so re-reading the mixer after some parameters are already mapped does not wipe that work. Returns how many rows were added.

    Declaration
    public static int AddMissingNamesFromMixer(List<ConfigurationEntry> rows, IReadOnlyList<string> mixerParameterNames, Object undoTarget)
    Parameters
    Type Name Description
    List<ConfigurationEntry> rows
    IReadOnlyList<string> mixerParameterNames
    Object undoTarget
    Returns
    Type Description
    int

    Draw(List<ConfigurationEntry>, Object)

    Draws the table over rows in place, plus an "Add Row" button below it. undoTarget is the persisted asset changes are recorded and saved against — pass null while the rows are a wizard's not-yet-committed scratch list.

    Declaration
    public static void Draw(List<ConfigurationEntry> rows, Object undoTarget)
    Parameters
    Type Name Description
    List<ConfigurationEntry> rows
    Object undoTarget
    In this article
    © 2026 Serenity. All Rights Reserved