The spine-ue runtime provides functionality to load, manipulate and render Spine skeletal animation data using Unreal Engine 4.27-5.4. spine-ue is based on spine-cpp.
You are welcome to evaluate the Spine Runtimes and the examples we provide in this repository free of charge.
You can integrate the Spine Runtimes into your software free of charge, but users of your software must have their own Spine license. Please make your users aware of this requirement! This option is often chosen by those making development tools, such as an SDK, game toolkit, or software library.
In order to distribute your software containing the Spine Runtimes to others that don't have a Spine license, you need a Spine license at the time of integration. Then you can distribute your software containing the Spine Runtimes however you like, provided others don't modify it or use it to create new software. If others want to do that, they'll need their own Spine license.
For the official legal terms governing the Spine Runtimes, please read the Spine Runtimes License Agreement and Section 2 of the Spine Editor License Agreement.
spine-ue works with data exported from Spine 4.2.xx.
spine-ue supports all Spine features.
spine-ue does not support multiply and screen blending. spine-ue does not support pre-multiplied alpha atlases. spine-ue does not support two color tinting.
- Create a new Unreal Engine code project. You don't need to write C++, but the code project is needed for the plugin to compile. See the Unreal Engine documentation or have a look at the example in this repository.
- Download the Spine Runtimes source using git (
git clone https://github.com/esotericsoftware/spine-runtimes
) or download it as a zip via the download button above. - Copy the
Plugins
folder from this directory to your new project's root directory. - Copy the folder
spine-runtimes/spine-cpp/spine-cpp
to your project'sPlugins/SpinePlugin/Source/SpinePlugin/Public/
folder. - Add
SpinePlugin
toPublicDependencyModuleNames
in your project'sBuild.cs
file. - Open the Unreal Project in the Unreal Editor
See the Spine Runtimes documentation on how to use the APIs or check out the Spine UE4 example.
The Spine UE4 example works on all platforms supported by Unreal Engine. The samples require Unreal Engine 4.27-5.3.
- Copy the
spine-cpp
folder from this repositories root directory to yourPlugins/SpinePlugin/Sources/SpinePlugin/Public/
directory. You can run thesetup.bat
orsetup.sh
scripts to accomplish this. - Open the SpineUE.uproject file with Unreal Editor