Click or drag to resize
Ab4d.SharpEngine logo

RenderingStepsListForEach(ActionRenderingStep, Boolean) Method

ForEach executes the action for each rendering step and passes the rendering step as an argument to the action.

Namespace: Ab4d.SharpEngine.RenderingSteps
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public void ForEach(
	Action<RenderingStep> action,
	bool executeForAllChildrenLevels = false
)

Parameters

action  ActionRenderingStep
Action that will be executed for each rendering step
executeForAllChildrenLevels  Boolean  (Optional)
if true the action will be also executed for each child rendering step in the RenderingStepsGroup. Default value is false
See Also