Avatar Visual Transfer - ShoninVRC/ShoninAssets GitHub Wiki

License

このスクリプトはMITライセンスで提供致します。

This script is provided under the MIT license.
LICENSE:https://github.com/ShoninVRC/ShoninAssets/blob/master/LICENSE

背景

アバターの作り直しや、別バージョンの作成時にブレンドシェイプやマテリアル等の再設定が面倒でした。

使い方

エディタ画面上部のShoninAssets/Avatar Visual Transferからウィンドウを開きます。
コピー元にコピー元のアバターのrootオブジェクト、ペースト先にペースト先のアバターのrootオブジェクトを指定します。

以下のオプションが使用できます。

対象

アバターのどの設定を転送するかを選択します。位置の転送では「子オブジェクトのみ」をチェックするとrootオブジェクトの座標は変更されません。(アバターをシーン上に並べている場合に推奨)

ブレンドシェイプ転送オプション

ブレンドシェイプを転送する条件を選択します。

「オブジェクト名とブレンドシェイプが完全に一致している場合にのみコピーする」にチェックを入れると、コピー先オブジェクトにあるブレンドシェイプの順番を無視してブレンドシェイプ名が完全に一致している場合にのみ値を転送します。チェックを推奨。

「子オブジェクトを含める」にチェックを入れると、アバターの全てのブレンドシェイプを転送します。チェックを推奨。

「転送」ボタンを押すと、設定したオプションに従ってデータが転送されます。

Background

It used to be a hassle to reconfigure blend shapes, materials and other settings when rebuilding an avatar or creating a new version.

Usage

Open the window from ShoninAssets/Avatar Visual Transfer at the top of the editor screen.
Specify the root object of the source avatar as the source, and the root object of the destination avatar as the destination.

The following options are available.

対象

Select which avatar settings to transfer. When transferring positions, if you tick "子オブジェクトのみ", the root object’s coordinates will not be changed. (Recommended when avatars are arranged in a scene)

ブレンドシェイプ転送オプション

Select the conditions for transferring blend shapes.

If you tick "オブジェクト名とブレンドシェイプが完全に一致している場合のみコピーする", values will be transferred only when the blend shape names match exactly, ignoring the order of blend shapes in the destination object. Ticking this is recommended.

If you tick "子オブジェクトを含める", all blend shapes of the avatar will be transferred. We recommend ticking this.

When you press the "転送" button, the data will be transferred according to the selected options.