![]() |
• World Manager | ||||||||
|
API Links
Developer Links
|
Node::EnumerateGeometriesDefined in:
Enumerates all geometries within a given sphere.
C4Node.hPrototype
Parameters
Description
The EnumerateGeometries function enumerates all geometry nodes in the tree rooted at the node for which the function is called. For each geometry node whose bounding volume intersects the sphere specified by the center and radius parameters, the callback procedure specified by the proc parameter is invoked. The GeometryEnumProc type is defined as follows.
data parameter of the EnumerateGeometries function. The callback function should return true to continue enumeration and false to stop it.The EnumerateGeometries is more efficient than the Node::EnumerateNodes would be for enumerating geometries because some geometry primitives have special functions that can more precisely determine whether they intersect a sphere.
See Also
|