文档

Unity Engine

Unity Engine

renderedPickingIndexCount

The number of consecutive picking indices used during the current HandleUtility.RenderPickingCallback.
阅读时间1 分钟最后更新于 1 天前

Definition

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.