get_constrained_motion_delta


Description:

[ Version ( since = "1.24" ) ]
public float get_constrained_motion_delta (uint point, out float delta_x, out float delta_y)

Retrieves the delta, in stage space, dependent on the current state of the PanAction, and respecting the constraint specified by the pan_axis property.

Parameters:

this

A PanAction

point

the touch point index, with 0 being the first touch point received by the action

delta_x

return location for the X delta

delta_y

return location for the Y delta

Returns:

the distance since last motion event