예제 #1
0
        protected override void LoadContent()
        {
            var gltfFactory = new MonoScene.Graphics.Pipeline.GltfModelFactory(this.GraphicsDevice);

            _AvodadoTemplate      = gltfFactory.LoadModel("Content\\Avocado.glb");
            _BrainStemTemplate    = gltfFactory.LoadModel("Content\\BrainStem.glb");
            _CesiumManTemplate    = gltfFactory.LoadModel("Content\\CesiumMan.glb");
            _HauntedHouseTemplate = gltfFactory.LoadModel("Content\\haunted_house.glb");
            _SharkTemplate        = gltfFactory.LoadModel("Content\\shark.glb");
        }
예제 #2
0
파일: Game1.cs 프로젝트: vpenades/MonoScene
        protected override void LoadContent()
        {
            var factory = new MonoScene.Graphics.Pipeline.GltfModelFactory(this.GraphicsDevice);

            _ModelTemplate = factory.LoadModel("Content\\CesiumMan.glb");
        }