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 OIV.Inventor.Collision.SoDualSceneCollider.SearchNextIntersection(), is not necessarily called from the main thread. Therefore the code in OIV.Inventor.Collision.SoDualSceneCollider.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.
Note |
---|
Member available since Open Inventor 9.6 |