Click or drag to resize
Ab4d.SharpEngine logo

GroupNodeGetById(Int32, Int32) Method

Searches the GroupNode's children and their children and returns the SceneNode with the specified Id. If the scene node is not found then null is returned. The search depth can be optionally specified by setting the searchDepth parameter (value 0 means searching only the immediate children of this GroupNode).

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public SceneNode? GetById(
	int sceneNodeId,
	int searchDepth = 2147483647
)

Parameters

sceneNodeId  Int32
Id of the SceneNode to return
searchDepth  Int32  (Optional)
optional search depth (value 0 means searching only the immediate children of this GroupNode). Default value is Int.MaxValue.

Return Value

SceneNode
found SceneNode or null if not found
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.GroupNode.GetById(System.Int32,System.Int32)"]

See Also