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.