Click or drag to resize

SingleValueUpdaterCallback Delegate

The callback for the SingleValueStateUpdater.

Namespace:  AGI.Foundation.SegmentPropagation
Assembly:  AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public delegate ITimeBasedState SingleValueUpdaterCallback(
	ITimeBasedState stateToUpdate,
	double newValue
)

Parameters

stateToUpdate
Type: AGI.Foundation.Coordinates.ITimeBasedState
The propagated state to get updated.
newValue
Type: System.Double
The value to use to edit the stateToUpdate.

Return Value

Type: ITimeBasedState
The modified state. The stateToUpdate can be mutated, or it can be copied or cloned and that copy can be returned.
See Also