Skip to main content

Blur

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

Cave generator part that blurs one Y slice of a layer with a 3 by 3 weighted average. The outer ring of cells is left as it was.

Constructors​

MemberWhat it is
Blur()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private int yIndexBacking field for YIndex.

Properties​

MemberWhat it is
int YIndex { get; }Which Y slice of the layer is blurred.

Methods​

MemberWhat it is
override IPartInstance GetInstance(PluginInstance plugin)Creates the BlurInstance that does the work.

Used in​

Members of other types that take, return or hold a Blur: