Click or drag to resize
Ab4d.SharpEngine logo

RenderingStepsListFindLastT(String, Boolean) Method

Returns the last RenderingStep of the specified T type and specified name. If the RenderingStep is not found, then null is returned.

Namespace: Ab4d.SharpEngine.RenderingSteps
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public T FindLast<T>(
	string? renderingStepName,
	bool searchInChildRenderingSteps = false
)
where T : RenderingStep

Parameters

renderingStepName  String
name of the rendering step to find (null if name is not important).
searchInChildRenderingSteps  Boolean  (Optional)
if true the method will also search in each child rendering step in the RenderingStepsGroup. Default value is false

Type Parameters

T
type of RenderingStep

Return Value

T
last RenderingStep of the specified T type
See Also