★お知らせ(2023/12/27)
いつもLive2D公式コミュニティをご利用いただき誠にありがとうございます。
本コミュニティは2023年12月27日 11:00をもって閉鎖いたしました。
今後の運営はすべて新Live2D公式クリエイターズフォーラムに移行します。
閉鎖に伴い、以下機能は利用不可となります。
・アカウントの新規作成
・トピック投稿、返信
たくさんのご利用誠にありがとうございました。

新Live2D公式クリエイターズフォーラムは以下バナーよりご利用いただけます。
Live2D公式クリエイターズフォーラム

なお、本コミュニティに投稿されたトピックはすべて残りますが、今後削除する可能性がございますので予めご了承ください。
閉鎖に関するお問い合わせにつきましてはLive2D公式クリエイターズフォーラムへご連絡ください。
オプション

Manipulating multiple avatars with SDK4

We're using SDK2 and considering of SDK4.

We need to manipulate multiple avatars on one browser tab and we can do it with Live2D SDK2.

However, there is no document of showing multiple avatars with SDK4 so we're wondering whether or not we can do it with SDK4 as well and the way to do it.

Thanks in advance.

コメント

  • オプション
    編集済: 7月 2020
    Hello @izmeal ,

    You can way to achieve view of multiple avatars(Cubism model) can be achieved by handling multiple simultaneous class instances that extend the CubismUserModel class in SDK4.
    In the case of Samples, the LAppModel is the equivalent.

    Samples implements the process of switching the display avatar by pressing a gear button.
    This is done by using LoadAssets() to load the avatar data for models one by one and set the renderer and texture.
    This process is instantiated for the number of avatars you want to display, and by changing it to a process that loads each avatar and executes the settings used to display each avatar at once, you can display multiple avatars.
    It depends on the expected specification, but you can also prepare multiple variables to manage LAppModel.

    In addiction, Samples of Cubism 4 SDK for Native does not support multiple avatars display position or eye tracking.
    You will need to customize this part as well.

    Sincerely,
コメントするにはサインインまたは登録して下さい。