This page contains reference documentation for the SplitAlpha member. This member sets or gets the EDGESPLITALPHA parameter.
double SplitAlpha;
Examples are as follows:
EdgeModifier modifier = new EdgeModifier; // Set EdgeModify to split the edge at its center. modifier.Name = "SplitEdgeModifier"; modifier.EdgeModify = 0; modifier.SplitAlpha = 50; // Set EdgeModify to split the edge by using the grid as the scissor plane. modifier.Name = "SplitEdgeWithGridModifier"; modifier.EdgeModify = 1; // EdgeModify mode 2 is NULL. modifier.Name = "NULL"; modifier.EdgeModify = 2; // Set EdgeModify to collapse the edge to its center. modifier.Name = "CollapseEdgeModifier"; modifier.EdgeModify = 3; modifier.SplitAlpha = 50; // Set EdgeModify to collapse the edge to a position expressed as 25% of the edge's length. modifier.Name = "CollapseEdgeModifier"; modifier.EdgeModify = 3; modifier.SplitAlpha = 50; // Set EdgeModify to collapse the edge to a position expressed as 75% of the edge's length. modifier.Name = "CollapseEdgeModifier"; modifier.EdgeModify = 3; modifier.SplitAlpha = 50; // Set EdgeModify to scale the edge from its center, while maintaining the edge's orientation in world-space. modifier.Name = "ScaleEdgeModifier"; modifier.EdgeModify = 4; modifier.SplitAlpha = 50; // Set EdgeModify to scale the edge from a position expressed as 75% of the edge's length while maintaining the edge's orientation in world-space. modifier.Name = "ScaleEdgeModifier"; modifier.EdgeModify = 4; modifier.SplitAlpha = 75;
For sample code: