| 1 |
NAME SoPickStyle SoPickStyle SO_PICK_STYLE_ { picking style node } |
| 2 |
|
| 3 |
INCLUDE nodes/SoPickStyle.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
This node determines how subsequent geometry nodes in the scene graph |
| 7 |
are to be picked, as indicated by the \vstyle\. field. |
| 8 |
\p |
| 9 |
Note that this is the only way to change the pick behavior of shapes; |
| 10 |
drawing style, complexity, and other rendering-related properties have |
| 11 |
no effect on picking. |
| 12 |
} |
| 13 |
|
| 14 |
ENUM Style { |
| 15 |
SHAPE "Points on the surfaces of shapes may be picked", |
| 16 |
BOUNDING_BOX "Points on the surfaces of 3D bounding boxes |
| 17 |
of shapes may be picked", |
| 18 |
UNPICKABLE "Subsequent objects are transparent to picks" |
| 19 |
} |
| 20 |
|
| 21 |
FIELD style { Picking style. } |
| 22 |
|
| 23 |
METHOD "" SoPickStyle() { |
| 24 |
Creates a pick style node with default settings. |
| 25 |
} |
| 26 |
|
| 27 |
METHOD "" static SoType getClassTypeId() { |
| 28 |
Returns type identifier for this class. |
| 29 |
} |
| 30 |
|
| 31 |
ACTION SoRayPickAction, SoCallbackAction { |
| 32 |
Sets the current pick style in the state. |
| 33 |
} |
| 34 |
|
| 35 |
ALSO { SoComplexity, SoDrawStyle, SoRayPickAction } |