SoPickStyleMethods Enumeration |
Picking method.
Namespace: OIV.Inventor.Nodes
Member name | Value | Description | |
---|---|---|---|
AUTO | 0 | Select the best method to use when picking a shape. | |
GPU | 1 | Always use GPU accelerated picking if the shape supports it. The documentation of the OIV.Inventor.Actions.SoPickAction describes the shapes that support GPU picking and some required conditions. | |
CPU | 2 | Always use CPU picking even if the shape supports another picking method. |
Specifying a method does not change the result of picking, but may affect performance. Some shapes like OIV.Inventor.Nodes.SoPointSet and MoMeshSkin implement a fast GPU Picking technique that may be faster than CPU picking (depending on the use case). When Method is AUTO, Open Inventor will automatically determine which picking method to use. However, you can force use of the CPU or GPU picking techniques. Please refer to OIV.Inventor.Actions.SoRayPickAction documentation for more details about GPU Picking.