Method GetWeightedScore
GetWeightedScore(IXRInteractor, IXRInteractable)
The filter calls this method to get a value that represents the intention to select the given target Interactable. Gets the weighted interaction score, the y-axis value in the weight curve for an x-axis value returned by CalculateNormalizedScore(IXRInteractor, IXRInteractable).
Declaration
public float GetWeightedScore(IXRInteractor interactor, IXRInteractable target)
Parameters
| Type | Name | Description |
|---|---|---|
| IXRInteractor | interactor | The Interactor whose Interactable targets (candidates) are being evaluated. |
| IXRInteractable | target | The Interactable to evaluate the weighted score. |
Returns
| Type | Description |
|---|---|
| float | Returns the weighted interaction score of the given target. Usually a normalized value but it can be negative and more than |