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: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
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