Point data for polygon chains. Either a list of points for a single chain, or a list of chains.
Total length of segments up to and including the segment of the same index. Used for weighted random selection of segment.
List of segment objects in the chain.
Total length of all segments of the chain.
Gets a random point in the chain.
The point to store the selected position in.
Point data for polygon chains. Either a list of points for a single chain, or a list of chains.
Generated using TypeDoc
A spawn shape that picks a random position along a series of line segments. If those line segments form a polygon, particles will only be placed on the perimeter of that polygon.
Example config: