SoDualSceneColliderEnableMultiThread Method |
Use multiple threads to compute intersections.
Namespace: OIV.Inventor.Collision
This is faster when testing for collision against a large number of triangles. The computation will use the maximum number of threads supported on the processor.
IMPORTANT: When multithreaded computation is enabled, the searchNextIntersection(), is not necessarily called from the main thread. Therefore the code in searchNextIntersection() (and any methods called from it) must be thread-safe. As an example, GUI update calls outside the main thread are often not allowed.
Default is false.
Since Open Inventor 9.6