AVOLITES TITAN API

InvokeWheelDoubleDelegate

Invokes a supplied command and passses on a double parameter and an integer wheel parameter. This method is used by the WheelAndTextControl menus to fire property setting methods when the wheel/text input control is in use.

Namespace: Math

Syntax

MACRO

Void Math.InvokeWheelDoubleDelegate(Action<Double,Int32,Boolean,Double> command, Double parameterValue, Int32 wheelIndex, Boolean shiftEnabled, Double timeDelta)

HTTP

http://[ip]:4430/titan/script/2/Math/InvokeWheelDoubleDelegate?command={}&parameterValue={double}&wheelIndex={titanId}&shiftEnabled={bool}&timeDelta={double}

Parameters

command ( Action<Double,Int32,Boolean,Double> ) : The command to invoke.

parameterValue ( Double ) : The parameter value.

wheelIndex ( Int32 ) : Index of the wheel causing the action.

shiftEnabled ( Boolean ) : if set to true shift enabled.

shiftEnabled

HTTP Example:
http://localhost:4430/titan/script/2/Math/InvokeWheelDoubleDelegate?command={}&parameterValue={double}&wheelIndex={titanId}&shiftEnabled=true&timeDelta={double}

timeDelta ( Double ) : The time delta.