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: 22.2.414.0 (22.2.414.0)
Syntax
public delegate ITimeBasedState SingleValueUpdaterCallback(
	ITimeBasedState stateToUpdate,
	double newValue
)

Parameters

stateToUpdate
Type: AGI.Foundation.CoordinatesITimeBasedState
The propagated state to get updated.
newValue
Type: SystemDouble
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