Abstract
Static
Readonly
componentsStatic
Readonly
lightsStatic
Readonly
nodesStatic
pickStatic
rectSee EventTarget.addEventListener for reference. Works with EventListenerUnified and EventUnified
Optional
_options: boolean | AddEventListenerOptionsSee EventTarget.dispatchEvent for reference. Works with with EventUnified
See EventTarget.removeEventListener for reference. Works with EventListenerUnified and EventUnified
Optional
_options: boolean | AddEventListenerOptionsStatic
addStatic
addStatic
adjustStatic
assertStatic
clearStatic
dispatchStatic
drawDraws the scene from the point of view of the given camera
Static
getStatic
getStatic
getStatic
getStatic
initializeStatic
initializeStatic
pickStatic
pickUsed with a Picker-camera, this method renders one pixel with picking information for each pickable object in the line of sight and returns that as an unsorted array of Picks. The function to render the objects into the pick buffer must be provided by the caller.
The function which renders objects into the pick buffer. Returns a Pick for each rendered object. MUST use ShaderPick or ShaderPickTextured to render objects.
Static
pointRead the (world) position from the pixel at the given point on the render-rectangle (origin top left). ⚠️ CAUTION: Currently only works when ambient occlusion is active due to writing to the position texture being disabled otherwise.
Static
prepareRecursively iterates over the branch starting with the node given, recalculates all world transforms, collects all lights and feeds all shaders used in the graph with these lights. Sorts nodes for different render passes.
Static
removeStatic
resetStatic
setSet the blend mode to render with
Static
setStatic
setStatic
setSet the comparison operation used to test fragment depths against current depth buffer values.
Static
setStatic
setStatic
setSet the area on the offscreen-canvas to render the camera image to.
Static
setStatic
set
The main interface to the render engine, here WebGL (see superclass RenderWebGL and the RenderInjectors