Skip to content

Add parameter detail in MA Infomation#2003

Open
raiti-chan wants to merge 1 commit into
bdunderscore:mainfrom
raiti-chan:feature/add-used-parameter-details
Open

Add parameter detail in MA Infomation#2003
raiti-chan wants to merge 1 commit into
bdunderscore:mainfrom
raiti-chan:feature/add-used-parameter-details

Conversation

@raiti-chan

@raiti-chan raiti-chan commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

#2002
image

MA Infomation に詳細なパラメータの情報を表示する機能を追加しました。
デフォルトではFlodoutで閉じています。

展開すると

  • パラメータ名
  • パラメータが定義されたコンポーネント
  • パラメータタイプ (使用bits)
  • 自動リネームの有効無効

が表示されます。

こちらの実装にあたって必要なパラメータを ProvidedParameter に追加しています。
bdunderscore/ndmf#805

sourceField.SetEnabled(false);
details.Add(sourceField);
details.Add(new Label(string.Format(parameter_type_template, providedParameter.ParameterType, providedParameter.BitUsage)));
details.Add(new Label(string.Format(parameter_is_name_deferred_template, providedParameter.IsNameDeferred)));

@bdunderscore bdunderscore Jun 21, 2026

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IsNameDeferredの取り扱いはちょっと思想が曖昧ですね…

まず、二つのパラメーターが統合されているかどうかは、このboolだけでは判定できない(MA Parametersの自動リネームだと仮定すれば、Sourceで推測できるが、「IsModularAvatarAutoRename」ではないためその仮定が必ずしもあっているとは限らない)
また、他のアセットのDeferredなパラメーターを自動リネームと称するべきではない。

まずはいったん、この情報の表示が必要かを精査しましょう。

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

そうですね
こちらの表示意図としては、
ビルド後にパラメータ名が、表示されているものから変わるというのを分かるようにしたいため、
'IsModularAvatarAutoRename' : 自動リネーム

'IsUnconfirmedName' : 未確定な名前
など別で持たせるとかでしょうか

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants