Click or drag to resize
AB4D logo

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.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public class RenderingQueueSortingCompletedEventArgs : EventArgs

The RenderingQueueSortingCompletedEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodRenderingQueueSortingCompletedEventArgs Constructor
Top
Properties
 NameDescription
Public propertyRenderablePrimitives Gets a list of RenderablePrimitive objects that are defined in the sorted RenderingQueue.
Public propertySortedIndexes 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.
Top
See Also