Click or drag to resize
Ab4d.SharpEngine logo

GroupNodeForEachChildT(Matrix4x4, ActionT, Matrix4x4) Method

Executes the specified Action for all child SceneNodes of type T and their children. The Action gets SceneNode of type T and world transformation Matrix4x4 as parameter.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public void ForEachChild<T>(
	Matrix4x4 parentTransformMatrix,
	Action<T, Matrix4x4> childNodeFoundAction
)
where T : SceneNode

Parameters

parentTransformMatrix  Matrix4x4
initial transformation as Matrix4x4
childNodeFoundAction  ActionT, Matrix4x4
Action to executed

Type Parameters

T
See Also