Click or drag to resize
Ab4d.SharpEngine logo

CameraDistanceSortedRenderingLayerSortSortedIndexes Method

Sort items in this rendering layer by setting the sortedIndexes array.

Namespace: Ab4d.SharpEngine.RenderingLayers
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
protected override bool SortSortedIndexes(
	RenderingContext renderingContext,
	ICamera? usedCamera,
	bool forceSorting
)

Parameters

renderingContext  RenderingContext
RenderingContext
usedCamera  ICamera
ICamera
forceSorting  Boolean
when true, then sorting is performed in all cases; if false sorting is performed only when needed based on the Scene changes flag.

Return Value

Boolean

[Missing <returns> documentation for "M:Ab4d.SharpEngine.RenderingLayers.CameraDistanceSortedRenderingLayer.SortSortedIndexes(Ab4d.SharpEngine.Core.RenderingContext,Ab4d.SharpEngine.Cameras.ICamera,System.Boolean)"]

See Also