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 gives access to the NDC transform matrix and the NDC positions of the mouse during the current mouse event and at the start of the drag.

Inputs

uievent: Float

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

Outputs

xform: Matrix4

The NDC Transform matrix.

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 normalied device coordinates.

ystart: Float

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

See also

APEX nodes