ドキュメント

Unity Engine

Unity Engine

RenderPickingResult

This struct contains information to notify Unity the outcome of this render picking callback.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Struct
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.