 |
SceneAddRenderingLayerAfter Method |
Adds the newRenderLayer after the already registered afterRenderLayer.
If rendering layer is MaterialSortedRenderingLayer or CameraDistanceSortedRenderingLayer, then also its IsSortingEnabled property is set according to the current settings.
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic void AddRenderingLayerAfter(
RenderingLayer newRenderingLayer,
RenderingLayer afterRenderingLayer
)
Parameters
- newRenderingLayer RenderingLayer
- RenderingLayer to add
- afterRenderingLayer RenderingLayer
- RenderingLayer that is already registered in the RenderingLayers collection; when null then newRenderingLayer is added as the first rendering layer
See Also