UnityGLTF
Unity3D library for importing and exporting GLTF 2.0 assets.
The goal of this library is to support the full glTF 2.0 specification and enable the following scenarios:
- Run-time import of glTF 2.0 files
- Run-time export of glTF 2.0 files
- Design-time import of glTF 2.0 files
- Design-time export of glTF 2.0 files
The library will be modularized such that it can be extended to support additional capabilities in Unity or support additional extensions to the glTF specification. The library is designed to work with Unity 5.6 and above.
Current Status
Work Items and Issues targeting a 1.0 release of the library can be found in Road to 1.0
Building
- Open
GLTFSerialization\GLTFSerialization.sln
and compile for release. This will put the binaries inUnityGLTF\Assets\UnityGLTF\Plugins
- Open the Unity project located in
UnityGLTF\
- If the meta file gets overridden, the binaries in
UnityGLTF\Assets\UnityGLTF\Plugins
should be configured for everything but UWP. The binaries inUnityGLTF\Assets\UnityGLTF\Plugins\UWP
should be configured for UWP
- If the meta file gets overridden, the binaries in
Examples
- Clone or download the repository.
- Open up the Unity project and run any of the example scenes in
Assets/GLTF/Examples
You should see something like this: