Class WGLWidget.JavaScriptVector

Enclosing class:

public static class WGLWidget.JavaScriptVector extends Object
A client-side JavaScript vector.

Using a WGLWidget.JavaScriptVector, GL parameters can be modified without communication with the server. The value of the WGLWidget.JavaScriptMatrix4x4 is updated server-side whenever an event is sent to the server.

The WGLWidget.JavaScriptVector is represented in JavaScript as an array, either as a Float32Array or as a plain JavaScript array.