HandleUtility.GetPickingIncludeExcludeList

Declaration

public static PickingIncludeExcludeList GetPickingIncludeExcludeList(Unity.Collections.Allocator allocator);

Parameters

allocator The allocator to use to create the PickingIncludeExcludeList object.

Returns

PickingIncludeExcludeList The PickingIncludeExcludeList struct.

Description

Gets the picking PickingIncludeExcludeList for the currently executing BatchRendererGroup.OnPerformCulling callback.

Note: If you call this method outside of a BatchRendererGroup.OnPerformCulling callback, it returns an empty PickingIncludeExcludeList object.


Did you find this page useful? Please give it a rating: