Constructor HierarchicalSphere
HierarchicalSphere(Color, HierarchicalSphere)
Constructor. Used to setup colors and also the container if any.
Declaration
public HierarchicalSphere(Color baseColor, HierarchicalSphere parent = null)
Parameters
Type | Name | Description |
---|---|---|
Color | baseColor | The color of filling. All other colors are deduced from it. |
HierarchicalSphere | parent | The HierarchicalSphere containing this sphere. If null, the sphere will not be limited in size. |