/// <summary> /// Creates a new <see cref="SceneInstance"/> of this <see cref="SceneTemplate"/> /// that can be used to render the scene. /// </summary> /// <returns>A new <see cref="SceneInstance"/> object.</returns> public SceneInstance CreateInstance() { var inst = new SceneInstance(_Armature, _DrawableReferences); inst.Armature.SetPoseTransforms(); return(inst); }
/// <summary> /// Creates a new <see cref="SceneInstance"/> of this <see cref="SceneTemplate"/> /// that can be used to render the scene. /// </summary> /// <returns>A new <see cref="SceneInstance"/> object.</returns> public SceneInstance CreateInstance() { var inst = new SceneInstance(_NodeTemplates, _DrawableReferences, _AnimationTracks); inst.SetPoseTransforms(); return(inst); }
internal MonoGameModelInstance(MonoGameModelTemplate template, SceneInstance instance) { _Template = template; _Controller = instance; }