Use Star to create closed star-shaped splines with any number of points. Star splines use two radii to set the distance between the outer points and inner valleys.
Param Description
Radius1
Radius of inner vertices.
Radius2
Radius of outer vertices.
Points
Number of points.
Fillet 1
Rounds the inner vertices.
Fillet 2
Rounds the outer vertices.
Distortion
Rotates the outer points about the center of the star. This produces a sawtooth affect.
Star Class
public class MegaShapeStar : MegaShape
{
public float radius1;
public float radius2;
public int points;
public float distortion;
public float fillet1;
public float fillet2;
}
{
public float radius1;
public float radius2;
public int points;
public float distortion;
public float fillet1;
public float fillet2;
}
You must be logged in to post a comment.