リネーム
dx12_rename_entityRenames an entity in the DX12 Engine editor. If the new name is a duplicate, automatically appends a number to make it unique.
Instructions
エンティティ名を変更する。重複名は連番(name_2 など)が付与され、確定した {name} を返す。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 新しい名前。 | |
| entity | Yes | エンティティ id(int)。dx12_list_entities / dx12_find_entity で取得。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | エンジンからの生の結果。実際の形は各ツールの説明 / dx12_describe_components を参照。text にも同内容を JSON 文字列で格納。 |