Finding 3D Objects
 
 
 

You can use one of these methods to find children of the scene root:

How to find children

Object Model

C++ API

Look for an object using its name, type or family. Returns the first one found.

X3DObject.FindChild

X3DObject::FindChild

Look for a collection of objects using name, type or family. Returns all objects that match the search criteria.

X3DObject.FindChildren

X3DObject::FindChildren

Use the Find methods (available on most collectons in the object model and on the CRefArray class in the C++ API) to find the first object matching the type specified.

X3DObjectCollection.Find, etc.

CRefArray::Find

Use the Filter methods to get the subset of the collection that matches the filter criterion. You can use the object's type, its family or a full or partial path (using wildcards).

X3DObjectCollection.Filter, etc.

CRefArray::Filter