Combines all the data needed to render and animate a skinned object. This is typically stored in the Tag property of the Model being animated.
コード例 #1
0
        public InstancedSkinnedModel(ContentReader reader)
        {
            _model = reader.ReadObject <Model>();
            _instancedSkinningData = new InstancedSkinningData(reader);

            _graphicsDevice = ((IGraphicsDeviceService)reader.ContentManager.ServiceProvider.GetService(typeof(IGraphicsDeviceService))).GraphicsDevice;
        }
コード例 #2
0
        public InstancedSkinnedModel(ContentReader reader)
        {
            _model = reader.ReadObject<Model>();
            _instancedSkinningData = new InstancedSkinningData(reader);

            _graphicsDevice = ((IGraphicsDeviceService)reader.ContentManager.ServiceProvider.GetService(typeof(IGraphicsDeviceService))).GraphicsDevice;
        }