Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

Selection modes

  • Last UpdatedSep 05, 2024
  • 2 minute read

Selection mode for picking items

In a manipulation based system, when selecting items in order to pick them, you can choose from several types of selection mode.

Mode

Information

avatarDirect

This selection mode manages avatar interaction through a raycast that starts from head position and goes in the direction of the head's forward.

mouseSelection

In this selection mode, the interaction is based on the mouse pointer. Objects are selected when the mouse pointer is positioned over them and performSelection is called. This mode stores the last selected item. If InteractionSelector is disabled and enabled again, the last selected item is selected again.

avatarMouse

This selection mode combines the user-controlled avatar and the mouse pointer. Items are selected when the player's avatar is near them, and the mouse pointer is positioned over it and performSelection is called. The selection is influenced by the proximity of the player's avatar position.

selectorSelection

This selection mode involves a selector positioned at a specific point on the screen. Items are selected when the selector is over them and performSelection is called. The selector position on the screen can be changed using the selectorPosition field. When an item is selected, selection mode is automatically switched to selectorSelected.

avatarSelection

This mode involves selecting items based on the center of the screen and the avatarPickDistance field. Items are selected when performSelection is called.

avatarDirect

This mode automatically select items based on the center of the screen and the avatarPickDistance field.

customSelection

This mode allows for custom selection and is typically used for specific, non-standard interactions. Items can only be selected using the selectItemFromName field, and this mode is not influenced by the usual selection mechanisms.

selectorSelected

This mode allows to select only by using the selectItemFromName field.

raySelection

In this mode, selection uses a configurable ray. Item are selected when the ray intersects with them and performSelection is called. This selection highlight item before selecting. Ray can be configured using fields rayPosition, rayDirection, and rayLength.

rayDirect

In this mode, selection is based using a configurable ray. Item are selected when the ray intersects with them. Ray can be configured using fields rayPosition, rayDirection. and rayLength.

manipulatorSelection

This mode is for selecting objects using a Manipulator. The selected item can vary based on different modes of the manipulator. When in ManipulatorSelectionMode.collision mode, the object is selected based on collision.

Related Links
TitleResults for “How to create a CRG?”Also Available in