public DirectiveRenderer AddViewport(string name, Viewport2d viewport) { if (this._viewports.ContainsKey(name)) { throw new InvalidOperationException($"A viewport has already been added with name '{name}'!"); } this._viewports.Add(name, viewport); return(this); }
public virtual void OnAfterRenderView(Viewport2d viewport) { }
public virtual bool OnBeforeRenderView(Viewport2d viewport) { return(true); }