io.github.srs.model.illumination.raster
Members list
Type members
Classlikes
object OcclusionRaster
Provide occlusion rasterization for Entity shapes.
Provide occlusion rasterization for Entity shapes.
Turns circles / rectangles into a discrete grid used for light blocking. Cells contain 0.0 (Cleared) or 1.0 (Occluded).
- Sampling at the center of each cell: (x + 0.5, y + 0.5).
- Coordinate scaling: world units * ScaleFactor => grid-space (pixels/cells).
- All min/max index ranges are inclusive and clamped to grid bounds.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
OcclusionRaster.type
object OpacityValue
Companion object providing utility methods and extensions for OcclusionValue.
Companion object providing utility methods and extensions for OcclusionValue.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
OpacityValue.type
Types
Represents the occlusion value of a grid cell.
Represents the occlusion value of a grid cell.
Occlusion values range from 0.0 (fully transparent) to 1.0 (fully occluded).
Attributes
In this article