This design allows SceneLoader to supply a Visual tree to the WinUI control much like Lottie-Windows implements IAnimatedVisualSource. As a result, the WinUI ModelViewer control has no dependence on the SceneLoader nuget, and enables anyone to supply their custom scene graphs.
This SharpDX based glTF viewer could be a good case study on how to provide a custome schen graphs for C# to make use of the interface to populate Visual tree
This design allows SceneLoader to supply a Visual tree to the WinUI control much like Lottie-Windows implements IAnimatedVisualSource. As a result, the WinUI ModelViewer control has no dependence on the SceneLoader nuget, and enables anyone to supply their custom scene graphs.