기술 자료

Unity Engine

Unity Engine

RenderPickingResult

This struct contains information to notify Unity the outcome of this render picking callback.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Struct
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public readonly struct RenderPickingResult

Remarks

This struct type has to be returned from the RenderPickingCallback to notify Unity of:
If nothing has been rendered, return RenderPickingResult.NoOperation.

Static Fields

Value

Description

NoOperationThe constant value to be returned from HandleUtility.RenderPickingCallback delegates signifying that nothing has been rendered.

Constructors

Properties

Property

Description

renderedPickingIndexCountThe number of consecutive picking indices used during the current HandleUtility.RenderPickingCallback.
resolverThe callback to invoke to resolve a picking index into a GameObject reference.
resolverWithWorldPosThe callback to invoke to resolve a picking index into a GameObject reference.