RemoteRenderingTestClient¶
- MacroModule¶
genre
author
package
definition
see also
Purpose¶
The module RemoteRenderingTestClient supports designing interaction tests with artificial events (in contrast to events generated with RemoteRenderingEventRecorder). Since it can be challenging to get the event coordinates correct, this module allows for setting a fixed rendering size and checking positions with the mouse.
Usage¶
Select the rendering size that you also use in your tests, then move the mouse over the rendering to obtain the exact pixel position of any displayed element.
Windows¶
Default Panel¶
Input Fields¶
input¶
- name: input, type: RemoteRendering(MLBase)¶
Connect this to a
RemoteRendering(orRemotePanelRendering) module.For accessing this object via scripting, see the Scripting Reference:
MLRemoteRenderingWrapper.
Parameter Fields¶
Field Index¶
|
|
|
|
|
Visible Fields¶
Width¶
- name: width, type: Integer, default: 200¶
Sets the rendering width.
Height¶
- name: height, type: Integer, default: 200¶
Sets the rendering height.
X¶
- name: mouseX, type: Integer, persistent: no¶
Shows the current horizontal mouse cursor position (relative to the rendering).
Y¶
- name: mouseY, type: Integer, persistent: no¶
Shows the current vertical mouse cursor position (relative to the rendering).
Present¶
- name: mousePresent, type: Bool, persistent: no¶
Shows whether the mouse is over the rendering.