 |
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 HierarchySystemObject
SystemEventArgs
Ab4d.SharpEngine.CommonRenderingLayerSortingCompletedEventArgs
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic class RenderingLayerSortingCompletedEventArgs : EventArgs
The RenderingLayerSortingCompletedEventArgs type exposes the following members.
Constructors
Properties | Name | Description |
---|
 | RenderingItems |
Gets a list of RenderingItem objects that are defined in the sorted RenderingLayer.
|
 | SortedIndexes |
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