2.9 KiB
2.9 KiB
Live2D Cubism Core
このフォルダーには、ネイティブアプリケーションを開発するためのヘッダーおよびプラットフォーム固有のライブラリファイルが含まれています。
Cubism Coreは、Cubismモデルをアプリケーションにロードするための小さなライブラリです。
はじめに
モデルを画面に表示して、アニメーションを再生するための情報については、CubismNativeSamplesをご覧ください。
ファイル構造
Core
├─ dll # Shared (Dynamic) Library files
├─ include # Header file
└─ lib # Static Library files
ライブラリリスト
| プラットフォーム | アーキテクチャ | dll | lib | パス | 注記 |
|---|---|---|---|---|---|
| Android | ARM64 | ✓ | ✓ | android/arm64-v8a | |
| Android | x86 | ✓ | ✓ | android/x86 | |
| Android | x86_64 | ✓ | ✓ | android/x86_64 | |
| iOS | ARM64 | ✓ | ios/xxx-iphoneos | iOSデバイス | |
| iOS | x86_64 | ✓ | ios/xxx-iphonesimulator | iOS Simulator | |
| Linux | x86_64 | ✓ | ✓ | linux/x86_64 | |
| Linux | ARM64 | ✓ | ✓ | experimental/linux/ARM64 | |
| macOS | ARM64 | ✓ | ✓ | macos/arm64 | |
| macOS | x86_64 | ✓ | ✓ | macos/x86_64 | |
| Mac Catalyst | ARM64 | ✓ | experimental/catalyst | Universal Binary | |
| Mac Catalyst | x86_64 | ✓ | experimental/catalyst | Universal Binary | |
| Raspberry Pi | ARM | ✓ | ✓ | experimental/rpi | |
| UWP | ARM | ✓ | experimental/uwp/arm | ||
| UWP | ARM64 | ✓ | experimental/uwp/arm64 | ||
| UWP | x64 | ✓ | experimental/uwp/x64 | ||
| UWP | x86 | ✓ | experimental/uwp/x86 | ||
| Windows | x86 | ✓ | ✓ | windows/x86 | |
| Windows | x86_64 | ✓ | ✓ | windows/x86_64 |
実験的ライブラリ
Raspberry Pi、UWP、catalystは実験的なライブラリです。
Windows用スタティックライブラリ
ライブラリは、VC++バージョン名ディレクトリの下にあります。
以下は、VC++バージョンのVisual Studioバージョンです。
| VC++バージョン | Visual Studioバージョン |
|---|---|
| 140 | Visual Studio 2015 |
| 141 | Visual Studio 2017 |
| 142 | Visual Studio 2019 |
| 143 | Visual Studio 2022 |
また、サフィックスライブラリ(_MD、_MDd、_MT、_MTd)は、ライブラリのコンパイルに使用されるランタイムライブラリの使用 オプションを参照します。
呼び出し規約
Windows/x86のダイナミックリンクライブラリを使用する場合は、呼び出し規約として明示的に__stdcallを使用してください。