Click or drag to resize
Ab4d.SharpEngine logo

RenderingStepsListForEach(ActionRenderingStep, Object, Object, Boolean) Method

ForEach executes the action for each rendering step and passes the rendering step as an argument to the action. A custom actionData is also passed 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, Object> action,
	Object actionData,
	bool executeForAllChildrenLevels = false
)

Parameters

action  ActionRenderingStep, Object
Action that will be executed for each rendering step
actionData  Object
custom object that is passed to each call of the action.
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