 |
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.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic 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
SceneNodefound SceneNode or null if not found
See Also