Optional
args: ContextArgsthe
Optional
hashused to append to loaded assets
Readonly
isWhen the renderer or camera are managed by an external process (e.g. when running in r3f context)
set to true to pause the update loop. You can receive an event for it in your components. Note that script updates will not be called when paused
When enabled the application will run while not visible on the page
Optional
targetSet to the target framerate you want your application to run in (you can use ?stats to check the fps) Set to undefined if you want to run at the maximum framerate
Optional
value?: numberCurrent event of the update cycle
returns true if the dom element is visible on screen
Use sceneLighting
use to scale the resolution up or down of the renderer. default is 1
the needle engine version
Static
CurrentStatic
DefaultWhen a new context is created this is the framerate that will be used by default
When a new context is created this is the framerate that will be used by default
use this to subscribe to onAfterRender events on threejs objects
use this to subscribe to onBeforeRender events on threejs objects
Optional
opts: ContextCreateArgsOptional
opts: ContextCreateArgsuse create. This method will be removed in a future version
Optional
camera: CameraGenerated using TypeDoc
Deprecated
AssetDataBase is deprecated