HandleUtility.ResolvePickingWithWorldPositionCallback

Declaration

public delegate Object ResolvePickingWithWorldPositionCallback(int localPickingIndex, Vector3 worldPos, float depth);

Parameters

localPickingIndex The 0-based index that specifies what picking index was selected.
worldPos The world space position where the picking occurred.
depth The raw depth value read from the picking render texture.

Description

The delegate type to return from RenderPickingCallback through the RenderPickingResult.resolverWithWorldPos member, with the additional world space position and depth information of where the click occurred.

Additional resources: RenderPickingResult.


Did you find this page useful? Please give it a rating: