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

AVEVA™ XR Studio

Output fields

  • Last UpdatedOct 08, 2025
  • 2 minute read

The output fields for the Input module.

Name

Type

Description

action_keysPressed

mstring

Contains the name of the actions currently triggered.

Axis0

svec3

Contains the cumulative input data coming from the enabled input devices and Axis0 configurations. In particular, Oculus and Joystick left thumb stick and specified keyboard keys are first summed and then capped between [-1 1]. Then AxisMouse and AxisPinch are summed based on the Axis0 configuration and mapped as follow: AxisMouse.x > Axis0.x; AxisMouse.y > Axis0.z; AxisPinch.z > Axis0.x; AxisPinch.w > Axis0.y. Axis0 is usually associated to translation movements.

Axis1

svec3

Contains the cumulative input data coming from the enabled input devices and Axis0 configurations. In particular, Oculus and Joystick right thumb stick and specified keyboard keys are first summed and then capped between [-1 1]. Then AxisMouse and AxisPinch are summed based on the Axis1 configuration and mapped as follow: AxisMouse.x > Axis1.x; AxisMouse.y > Axis1.y; AxisPinch.x > Axis1.x. Axis1 is usually associated to rotation movements.

AxisMouse

svec2

If mouse_enabled is set to true, always contains the mouse delta values of the associated Mouse node, based on mouseVirtualPosition. Thus, when the mouse is still or outside of the Viewer, this output is set to {0, 0}.

AxisPinch

svec4

Contains the data coming from the associated GestureSensor node. In particular, x corresponds to the rotation speed, y to the zoomSpeed, z and w to the horizontal and vertical pan speed.

gestureSensorNode

sstring

The name of the GestureSensor node, instantiated with the module.

mouse_scrollWheel_delta

sfloat

If mouse_enabled is set to true, contains the wheelDelta of the associated Mouse node.

mouseDragDelta

svec2

If mouse_enabled is set to true and left button is pressed, contains the mouse delta values of the associated Mouse node, based on mouseVirtualPosition. Otherwise, it is set to {0, 0}.

If the configuration useRemoteGesture is set to true, the following output fields are also available.

These values are updated only in the case where input gesture_enabled is set to true.

Name

Type

Description

isPinching

sbool

Is set to true while a multi-touch gesture is being performed.

midPoint

svec2

Contains the stationary point when a pinch gesture is being carried out, in screen space coordinates.

pinchAngleVelocity

sfloat

Reflects the rotateSpeed of the associated GestureSensor node. When this value is not zero PINCHROTATE value is automatically added to action_keysPressed.

pinchDragVelocity

svec2

Reflects the panSpeed of the associated GestureSensor node. When this value is not zero PINCHPAN value is automatically added to action_keysPressed.

pinchScaleVelocity

sfloat

Reflects the zoomSpeed of the associated GestureSensor node. When this value is not zero PINCHZOOM value is automatically added to action_keysPressed.

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