Ring

This creates a closed path in the shape of a ring in the XZ plane with the Y axis in the centre. There are 2 constructors depending on whether you want a circular or elliptical path.

circular path elliptical path

Creating the Ring path

Constructors
Ring(float radius, int nbrSlices)
Ring(float radiusX, float radiusZ, int nbrSlices)
Parameter Comments
radius
the ring radius round the Y axis. This will create a circular path.
radiusX, radiusZ
the ring radius along the X and Z axis. If they differ an elliptical path will be created.
nbrSlices
the number of slices along the length of the path