GetTypedNodeByPath Data Member Function

Searches a <Group> and its child hierarchy for a <Node> using a specified path.

Prototype

Node GetTypedNodeByPath( string p_sNodePath, TypeInformation p_oRequiredNodeType )

Parameters

Parameter Type Parameter Name Documentation
stringp_sNodePathThe path of the <Node> to retrieve, e.g. "//Scene//ModelA".
TypeInformationp_oRequiredNodeTypeA <TypeInformation> pointer representing the expected <Node> type. The method validates the <Node> retrieved at the specified path is derived from this type, or the method returns null.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.