-
Notifications
You must be signed in to change notification settings - Fork 261
Documentation BluEye Nodes
Init
Initialize function. This should be called after all properties are set.
Get Texture
Returns a reference to the BLUI drawing texture.
Returns: Texture2D Reference
Get Material Instance
Returns a reference to a material instance used for drawing in BLUI
Returns: Material Instance Dynamic Reference
Execute JS
Runs a single line of Javascript within the context of the current loaded page
Execute Javascript With Params
(Above runs: doThing("hello", 10.5, {"foo":"bar"}, "11");
)
Runs a specified Javascript method by name, along with parameters defined as an Array of strings.
Each element in the array will be passed into the function in order and separated by a ,
If you want to pass a JSON string as an object, simply don't put quotes around the outside braces {"foo" : "bar"}
If you want to pass a number, do similar: 10.5
To pass as a string, place quotes around the param when adding to the array: "11" and "hello" are strings
Load URL
Causes the browser to load the specified URL
Left/Right Click Operations
Triggers specified mouse Left/Right click at specific coordinates taken from the Vector2D. (From top left of browser's page)
Also allows for scale, which the vector will be divided by.
Mouse Move
Move the "mouse" inside the browser to the specific coordinates taken from the Vector2D. (From top left of browser's page)
Also allows for scale, which the vector will be divided by.
Trigger Mouse Wheel
Trigger a scroll wheel event at the coordinates taken from the Vector2D
Mouse wheel delta controls how far the page will scroll with one click
Key Press
Trigger a key press event
Requires a FKeyEvent
Key Char Press
Trigger a Character key press using an FKeyEvent
Raw Char Key Press
If you wish to trigger a character key press without an FKeyEvent, use this node.
Special Key Press
If you wish to trigger a special key press without an FKeyEvent, use this node.
Close Browser
Closes the browser process and stops drawing. Ensure ALL references to this BluEye and its textures are cleaned up and not in use.
Is Browser Loading
Returns a Boolean that indicates if the browser is still loading or not
Navigate Forward/Back
Make the browser go forward or backward in its history.
Reload Browser
Reload the current page in the browser.
Allows ignoring cache to trigger a hard refresh.
Resize Browser
Internally re-size the browser size, this will also change the texture's draw size.