Click or drag to resize

EvaluatorGroupParameterizeTResult Method (MotionEvaluatorTResult, ParameterAction)

Parameterizes an evaluator with zero parameters.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public ParameterizedMotionEvaluator<TResult> Parameterize<TResult>(
	MotionEvaluator<TResult> evaluatorToParameterize,
	ParameterAction parameterAction
)

Parameters

evaluatorToParameterize
Type: AGI.FoundationMotionEvaluatorTResult
The evaluator to parameterize.
parameterAction
Type: AGI.Foundation.InfrastructureParameterAction
Indicates whether an exception should be thrown if any of the specified parameters are not actually parameters to the evaluatorToParameterize.

Type Parameters

TResult
The type of the result of evaluating the evaluator.

Return Value

Type: ParameterizedMotionEvaluatorTResult
An evaluator that can be evaluated with the given parameters.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when evaluatorToParameterize is .
See Also