Version: 2023.2
言語: 日本語

HandleUtility.ResolvePickingWithWorldPositionCallback

マニュアルに切り替える
public delegateObject ResolvePickingWithWorldPositionCallback (int localPickingIndex, Vector3 worldPos, float depth);

パラメーター

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.

説明

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.