AggregationPolicy Enumeration
Specifies the behavior of an AggregatingLayer.
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECore assembly)
Syntax
public enum AggregationPolicy
Values
Value name | Value | Description | |
---|---|---|---|
Default | 0 | The default aggregation policy avoids overlap between siblings in a hierarchy. Any overlap between two or more siblings will cause them to be aggregated.
In the image above the two siblings B and C overlap which will result in both them and their sibling D being hidden and replaced by the parent feature A. | |
Aggressive | 1 | The aggressive aggregation policy avoids overlap between both siblings and different branches in the same hierarchy.
Either of the highlighted overlapping features in the image above will trigger an aggregation that hides features E, F and G and replaces them with feature C. In this example the same aggregation will occur even if feature E and F did not overlap because the aggressive policy aggregates the deepest overlapping branch. | |
Relaxed | 2 | The relaxed aggregation policy avoids overlap between siblings but waits until all siblings overlap and form a single cluster before they are hidden and replaced by their parent.
In the image above the features B, C and D overlap each other and form a single cluster so they will be hidden and replaced by the parent feature A. |
Remarks
The different aggregation policies are demonstrated by the aggregating_layer.px and tactical_aggregating_layer.px map configuration samples.
Platforms
Windows, Linux, Android