CoverageFlags
Description
Enumeration of possible flags for testing heightmap samples against zero or full coverage.
- See also
Public / Constants
NotEmpty
The tested region contains at least one heightmap sample with a HeightmapSample.Coverage greater than zero.
If only the NotEmpty flag is set, it means that all samples in the tested region have a HeightmapSample.Coverage of HeightmapSample.MaxValue30 (because the NotSolid flag is not set).
NotSolid
The tested region contains at least one heightmap sample with a HeightmapSample.Coverage less than HeightmapSample.MaxValue30.
If only the NotSolid flag is set, it means that all samples in the tested region have a HeightmapSample.Coverage of 0
(because the NotEmpty flag is not set).
Some
The tested region contains heightmap samples that have a HeightmapSample.Coverage greater than 0
and less than HeightmapSample.MaxValue30.
When this flag is set, no other combinations are possible any more. So this value can be used to early exit in algorithms.