Houdini 21.0 Nodes APEX nodes

uievent::Ndc

Fetches information about the NDC transform and mouse position in NDC space.

On this page
Since 21.0

This node provides access to the normalized device coordinates (NDC) transform matrix and the NDC positions of the mouse during the current mouse event and at the start of a drag.

Inputs

uievent: Dict

The dictionary containing various uievent states that can be queried by the control graph gadget during UI interactions.

Outputs

x: Float

The current x-coordinate of the mouse in normalized device coordinates.

y: Float

The current y-coordinate of the mouse in normalized device coordinates.

xstart: Float

The x-coordinate of the mouse at the start of the drag in normalized device coordinates.

ystart: Float

The y-coordinate of the mouse at the start of the drag in normalized device coordinates.

xform: Matrix4

The NDC transform matrix.

See also

APEX nodes