EvaluatorGroupParameterizeTParameter1, TResult Method (MotionEvaluatorTResult, IEvaluatorParameterTParameter1, ParameterAction) |
Parameterizes an evaluator with one parameter.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ParameterizedMotionEvaluator1<TParameter1, TResult> Parameterize<TParameter1, TResult>(
MotionEvaluator<TResult> evaluatorToParameterize,
IEvaluatorParameter<TParameter1> parameter1,
ParameterAction parameterAction
)
Public Function Parameterize(Of TParameter1, TResult) (
evaluatorToParameterize As MotionEvaluator(Of TResult),
parameter1 As IEvaluatorParameter(Of TParameter1),
parameterAction As ParameterAction
) As ParameterizedMotionEvaluator1(Of TParameter1, TResult)
public:
generic<typename TParameter1, typename TResult>
ParameterizedMotionEvaluator1<TParameter1, TResult>^ Parameterize(
MotionEvaluator<TResult>^ evaluatorToParameterize,
IEvaluatorParameter<TParameter1>^ parameter1,
ParameterAction parameterAction
)
member Parameterize :
evaluatorToParameterize : MotionEvaluator<'TResult> *
parameter1 : IEvaluatorParameter<'TParameter1> *
parameterAction : ParameterAction -> ParameterizedMotionEvaluator1<'TParameter1, 'TResult>
Parameters
- evaluatorToParameterize
- Type: AGI.FoundationMotionEvaluatorTResult
The evaluator to parameterize. - parameter1
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter1
The value of the first parameter. - 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
- TParameter1
- The type of the first parameter.
- TResult
- The type of the result of evaluating the evaluator.
Return Value
Type:
ParameterizedMotionEvaluator1TParameter1,
TResultAn evaluator that can be evaluated with the given parameters.
Exceptions See Also