Skip to main content

BlobEdgeInstance

A class in Root.Township, Alta.Caves.PluginParts.

Runtime instance of the BlobEdge plugin part: draws a main circle and hashed smaller circles around it, sized by a biome attribute.

Constructors​

MemberWhat it is
BlobEdgeInstance(PluginInstance plugin, BlobEdge part)Creates a BlobEdgeInstance from plugin and part.

Fields​

3 private and internal fields
MemberWhat it is
private float multiplierSize multiplier read from the biome's size attribute.
private Vector2[] positionsCentres of the main and edge circles.
private float[] radiusesRadius of each circle.

Methods​

MemberWhat it is
override void Modify(MapChunkLayer layer, int offX, int offZ)For each circle that overlaps the chunk, applies the curve by distance from its centre with the part's operation.