public ModelRenderer(IModelResourcesManager resourcesManager, RenderModels renderModelsCallback, SpriteModelRenderer spriteRenderer, StudioModelRenderer studioRenderer, BrushModelRenderer brushRenderer) { _resourcesManager = resourcesManager ?? throw new ArgumentNullException(nameof(resourcesManager)); _renderModels = renderModelsCallback ?? throw new ArgumentNullException(nameof(renderModelsCallback)); SpriteRenderer = spriteRenderer ?? throw new ArgumentNullException(nameof(spriteRenderer)); StudioRenderer = studioRenderer ?? throw new ArgumentNullException(nameof(studioRenderer)); BrushRenderer = brushRenderer ?? throw new ArgumentNullException(nameof(brushRenderer)); }
public RenderModelsCreateOrUpdateCommand(RenderModels ent) { this.ent = ent; }