|
RenderingQueueSortingCompletedEventArgs Class |
RenderingQueueSortingCompletedEventArgs is used for the
SortingCompleted event.
The event is called after the RenderingQueue 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 RenderablePrimitives.Count to get number of items because SortedIndexes.Length may be to big).
Inheritance Hierarchy SystemObject
SystemEventArgs
Ab3d.DirectXRenderingQueueSortingCompletedEventArgs
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public class RenderingQueueSortingCompletedEventArgs : EventArgs
The RenderingQueueSortingCompletedEventArgs type exposes the following members.
Constructors Properties | Name | Description |
---|
| RenderablePrimitives |
Gets a list of RenderablePrimitive objects that are defined in the sorted RenderingQueue.
|
| SortedIndexes |
Gets an array of indexes that define the sorted order of the RenderablePrimitives.
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 RenderablePrimitives.Count.
|
TopSee Also