Sorted |
public abstract class SortedRenderablePrimitiveRenderingQueue : RenderablePrimitiveRenderingQueue, ISortedRenderingQueue
The SortedRenderablePrimitiveRenderingQueue type exposes the following members.
Name | Description | |
---|---|---|
SortedRenderablePrimitiveRenderingQueue | Constructor |
Name | Description | |
---|---|---|
IsSorted | Gets a Boolean that specified is rendering queue items have been sorted. | |
IsSortingEnabled | If true than sortable RenderQueues will be sorted. | |
Item |
Gets a RenderablePrimitiveBase with the specified index
(Overrides RenderablePrimitiveRenderingQueueItemInt32) | |
SortingType | Gets a RenderingQueueSorterType that specifies when the RenderingQueue needs to be resorted. |
Name | Description | |
---|---|---|
Add |
Adds renderable object to this queue
(Overrides RenderablePrimitiveRenderingQueueAdd(RenderablePrimitiveBase)) | |
Clear |
Removes all renderable objects from this queue
(Overrides RenderablePrimitiveRenderingQueueClear) | |
GetEnumerator |
Returns an enumerator that iterates through the collection.
(Overrides RenderablePrimitiveRenderingQueueGetEnumerator) | |
GetUnsortedItems | Returns a ReadOnlyCollection that is a copy of the unsorted renderablePrimitives. | |
Remove |
Removes renderable object to this queue
(Overrides RenderablePrimitiveRenderingQueueRemove(RenderablePrimitiveBase)) | |
Replace |
Replaces oldRenderablePrimitive object with newRenderablePrimitive (the newRenderablePrimitive preserves the positions of the oldRenderablePrimitive).
(Overrides RenderablePrimitiveRenderingQueueReplace(RenderablePrimitiveBase, RenderablePrimitiveBase)) | |
Sort | Sort items in this rendering queue. |
Name | Description | |
---|---|---|
SortingCompleted | RenderingQueueSortingCompleted event is called after this 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 provided SortedIndexes array (note: use RenderablePrimitives.Count to get number of items because SortedIndexes.Length may be to big). |