Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


renderedPickingIndexCount

The number of consecutive picking indices used during the current HandleUtility.RenderPickingCallback.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public int renderedPickingIndexCount { get; }

Remarks

If you return a RenderPickingResult struct with 0 count, the rendering is considered a RenderPickingResult.NoOperation and the resolve callback is not called, even if you did render something.