public InstancedSkinnedModel(ContentReader reader) { _model = reader.ReadObject <Model>(); _instancedSkinningData = new InstancedSkinningData(reader); _graphicsDevice = ((IGraphicsDeviceService)reader.ContentManager.ServiceProvider.GetService(typeof(IGraphicsDeviceService))).GraphicsDevice; }
public InstancedSkinnedModel(ContentReader reader) { _model = reader.ReadObject<Model>(); _instancedSkinningData = new InstancedSkinningData(reader); _graphicsDevice = ((IGraphicsDeviceService)reader.ContentManager.ServiceProvider.GetService(typeof(IGraphicsDeviceService))).GraphicsDevice; }