protected override IHullPart CreateHull(IHullPart current) { if (current == null && Node.IsShowingHull) { return(new RoundedPolygonHull()); } return(null); }
public void ComputeHull() { var hull = CreateHull(hullGeometry); if (hull != null) { ClearHull(); hullGeometry = hull; } }
protected abstract IHullPart CreateHull(IHullPart current);
private void ClearHull() { hullGeometry?.ClearResources(); hullGeometry = null; }
protected override IHullPart CreateHull(IHullPart current) { return(null); }