Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Documentation BluEye Nodes

Aaron Shea edited this page Jun 8, 2015 · 1 revision

Init

Init Node

Initialize function. This should be called after all properties are set.


Get Texture

Get Texture Node

Returns a reference to the BLUI drawing texture.

Returns: Texture2D Reference


Get Material Instance

Get Material Instance

Returns a reference to a material instance used for drawing in BLUI

Returns: Material Instance Dynamic Reference


Execute JS

Execute JS

Runs a single line of Javascript within the context of the current loaded page


Execute Javascript With Params

JS 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

load url

Causes the browser to load the specified URL


Left/Right Click Operations

leftrightclick

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

mousemove

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

scrollwheel

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

onkeydown

Trigger a key press event

Requires a FKeyEvent


Key Char Press

onkeychar

Trigger a Character key press using an FKeyEvent


Raw Char Key Press

rawcharpress

If you wish to trigger a character key press without an FKeyEvent, use this node.


Special Key Press

specialkeypress

If you wish to trigger a special key press without an FKeyEvent, use this node.


Close Browser

closebrowser

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

isloading

Returns a Boolean that indicates if the browser is still loading or not


Navigate Forward/Back

navforwardback

Make the browser go forward or backward in its history.


Reload Browser

reload

Reload the current page in the browser.

Allows ignoring cache to trigger a hard refresh.

Resize Browser

resize

Internally re-size the browser size, this will also change the texture's draw size.

Clone this wiki locally