FlowFieldDefined

@Serializable
@SerialName(value = "FlowFieldDefined")
data class FlowFieldDefined(val simTime: Double, val spaceName: String, val cols: Int, val rows: Int, val cellSize: Double, val originX: Double, val originY: Double, val cells: List<FlowCell> = emptyList(), val maxDistance: Double = 0.0) : AnimationEvent(source)

A flow-field distance gradient over the grid space spaceName (G11): a one-time per-replication snapshot (the field is computed once at initialize()). cells gives reachable cells with their distance-to-goal; maxDistance anchors the heatmap color ramp; cellSize/originX/originY place the grid in world coordinates. Opt-in (off by default) — an "agent debugging / teaching" overlay.

Constructors

Link copied to clipboard
constructor(simTime: Double, spaceName: String, cols: Int, rows: Int, cellSize: Double, originX: Double, originY: Double, cells: List<FlowCell> = emptyList(), maxDistance: Double = 0.0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val cols: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rows: Int
Link copied to clipboard
open override val simTime: Double
Link copied to clipboard