Click or drag to resize
Ab4d.SharpEngine logo

RenderingLayerSortingCompletedEventArgs Class

RenderingLayerSortingCompletedEventArgs is used for the SortingCompleted event. The event is called after the RenderingLayer is sorted. It allows the code in the event handler to change the order in which objects are rendered by changing the values in the SortedIndexes array (note: use RenderingItems.Count to get number of items because SortedIndexes.Length may be too big).
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Ab4d.SharpEngine.CommonRenderingLayerSortingCompletedEventArgs

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class RenderingLayerSortingCompletedEventArgs : EventArgs

The RenderingLayerSortingCompletedEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodRenderingLayerSortingCompletedEventArgs Constructor
Top
Properties
 NameDescription
Public propertyRenderingItems Gets a list of RenderingItem objects that are defined in the sorted RenderingLayer.
Public propertySortedIndexes Gets an array of indexes that define the sorted order of the RenderingItem. To provide custom sort order the event handler may change the indexes in this array. IMPORTANT: Never use SortedIndexes.Length - this array may be bigger then required. To get count of items always use RenderingItem.Count.
Top
See Also