Skip to content

Adds support for the UnityGLTF Interactivity Extension to the UnityGLTF package.

License

Notifications You must be signed in to change notification settings

magicleap/UnityGLTF-Interactivity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLTF Interactivity

Package for supporting the Interactivity extension for GLTFs. Built on top of UnityGLTF.

Focused on playing back interactive GLTFs at runtime. Future work may include runtime authoring/export to allow for editors to be made.

Warning

The GLTF KHR_interactivity spec is not finalized and is subject to change. This project is up to date with this version of the spec.

Supported Nodes

Currently this project supports all the interactivity nodes from the KHR_interactivity spec along with extensions KHR_node_hoverability and KHR_node_selectability.

Supported Pointers

Support for all GLTF Core Pointers, Interactivity Pointers, and most extension pointers for materials have been added.

Test Generation

All unit tests in this engine are portable to other implementations. By running this project's tests from the Unity test runner you can generate json files that represent each test. These tests can be consumed by any engine by running them and listening for Completed and Failed events. If a Completed event occurs with no Failed events you may assume the test has passed and your implementation is correct.

Testing GLBs

To test out an interactive GLB in this repo, place it in the StreamingAssets folder and change the Model Name you would like to load in the Test GameObject.

About

Adds support for the UnityGLTF Interactivity Extension to the UnityGLTF package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •