EvaluatorGroupParameterizeTParameter1, TParameter2, TParameter3, TResult Method (MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, ParameterAction) |
Parameterizes an evaluator with three parameters.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ParameterizedMotionEvaluator3<TParameter1, TParameter2, TParameter3, TResult> Parameterize<TParameter1, TParameter2, TParameter3, TResult>(
MotionEvaluator<TResult> evaluatorToParameterize,
IEvaluatorParameter<TParameter1> parameter1,
IEvaluatorParameter<TParameter2> parameter2,
IEvaluatorParameter<TParameter3> parameter3,
ParameterAction parameterAction
)
Public Function Parameterize(Of TParameter1, TParameter2, TParameter3, TResult) (
evaluatorToParameterize As MotionEvaluator(Of TResult),
parameter1 As IEvaluatorParameter(Of TParameter1),
parameter2 As IEvaluatorParameter(Of TParameter2),
parameter3 As IEvaluatorParameter(Of TParameter3),
parameterAction As ParameterAction
) As ParameterizedMotionEvaluator3(Of TParameter1, TParameter2, TParameter3, TResult)
public:
generic<typename TParameter1, typename TParameter2, typename TParameter3, typename TResult>
ParameterizedMotionEvaluator3<TParameter1, TParameter2, TParameter3, TResult>^ Parameterize(
MotionEvaluator<TResult>^ evaluatorToParameterize,
IEvaluatorParameter<TParameter1>^ parameter1,
IEvaluatorParameter<TParameter2>^ parameter2,
IEvaluatorParameter<TParameter3>^ parameter3,
ParameterAction parameterAction
)
member Parameterize :
evaluatorToParameterize : MotionEvaluator<'TResult> *
parameter1 : IEvaluatorParameter<'TParameter1> *
parameter2 : IEvaluatorParameter<'TParameter2> *
parameter3 : IEvaluatorParameter<'TParameter3> *
parameterAction : ParameterAction -> ParameterizedMotionEvaluator3<'TParameter1, 'TParameter2, 'TParameter3, 'TResult>
Parameters
- evaluatorToParameterize
- Type: AGI.FoundationMotionEvaluatorTResult
The evaluator to parameterize. - parameter1
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter1
The value of the first parameter. - parameter2
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter2
The value of the second parameter. - parameter3
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter3
The value of the third 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.
- TParameter2
- The type of the second parameter.
- TParameter3
- The type of the third parameter.
- TResult
- The type of the result of evaluating the evaluator.
Return Value
Type:
ParameterizedMotionEvaluator3TParameter1,
TParameter2,
TParameter3,
TResultAn evaluator that can be evaluated with the given parameters.
Exceptions Exception | Condition |
---|
ArgumentNullException |
Thrown when evaluatorToParameterize, parameter1, parameter2, or parameter3 is .
|
See Also