Click or drag to resize
Ab4d.SharpEngine logo

GroupNodeForEachChild(String, ActionSceneNode, Matrix4x4) Method

Searches the GroupNode's children and their children and executes the specified Action for all SceneNodes with the specified name.ž Name can contain '*' that acts as a wildcard to match multiple SceneNode names. The following wildcard usages are valid: *, *XYZ, XZY*, *XYZ*, XY*Z. The Action gets SceneNode and world transformation Matrix4x4 as parameter.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public void ForEachChild(
	string name,
	Action<SceneNode, Matrix4x4> childNodeFoundAction
)

Parameters

name  String
Name of the SceneNodes. Name can contain '*' that acts as a wildcard. In this case the first SceneNode that matches the wildcard are added. The following wildcard usages are valid: *, *XYZ, XZY*, *XYZ*, XY*Z.
childNodeFoundAction  ActionSceneNode, Matrix4x4
Action to executed
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.GroupNode.ForEachChild(System.String,System.Action{Ab4d.SharpEngine.SceneNodes.SceneNode,System.Numerics.Matrix4x4})"]

See Also