| grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » DrawPointer(integer,table[,integer]) | Version 2.2 |
DrawPointer 関数は、ディスプレイ上に赤いポインタを描画します。ポインタは、各ステーションに1つしか置けません。
この関数は何も返しません。
ディスプレイ1にポインタを5秒間描画します。
Lua |
return function() --Set a display index local displayIndex = 1 --Create and set the position in a table local position = {} position.x = 150 position.y = 25 --Set a 5 seconds duration - in milliseconds local duration = 5000 --Draw the actual pointer DrawPointer(displayIndex,position,duration) end |