LightMapConfigs

io.github.srs.utils.SimulationDefaults.LightMapConfigs

Alternative light map configurations for different use cases

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def HPLightMap: LightMap[IO]

High-precision light map for detailed rendering Uses scale factor 100 for maximum precision.

High-precision light map for detailed rendering Uses scale factor 100 for maximum precision.

Attributes

Returns

A LightMap configured for high precision, or the default light map if the scale factor is invalid.

Fast light map for real-time simulation Uses scale factor 5 for maximum performance.

Fast light map for real-time simulation Uses scale factor 5 for maximum performance.

Attributes

Returns

A LightMap configured for fast computation, or the default light map if the scale factor is invalid.

def withScale(scaleFactor: Int): LightMap[IO]

Custom light map with specific scale factor Curried for better composition.

Custom light map with specific scale factor Curried for better composition.

Value parameters

scaleFactor

The desired scale factor (cells per meter).

Attributes

Returns

A LightMap configured with the specified scale factor, or the default light map if the scale factor is invalid.

Concrete fields

lazy val BaseLightMap: LightMap[IO]

Default light map with caching enabled Uses scale factor 10 for a good balance of performance and precision

Default light map with caching enabled Uses scale factor 10 for a good balance of performance and precision

Attributes