WebXRManager class

Mixed-in types

Constructors

WebXRManager(WebGLRenderer renderer, RenderingContext gl)

Properties

animation WebGLAnimation
final
cameraAutoUpdate bool
getter/setter pair
cameraL PerspectiveCamera
final
cameraLPos → Vector3
final
cameraR PerspectiveCamera
final
cameraRPos → Vector3
final
cameras List
final
cameraVR ArrayCamera
latefinal
clearStyle ↔ dynamic
getter/setter pair
controllers List
final
depthStyle ↔ dynamic
getter/setter pair
enabled bool
getter/setter pair
framebufferScaleFactor double
getter/setter pair
gl ↔ RenderingContext
getter/setter pair
glBaseLayer ↔ dynamic
getter/setter pair
glBinding ↔ dynamic
getter/setter pair
glColorRenderbuffer ↔ dynamic
getter/setter pair
glDepthRenderbuffer ↔ dynamic
getter/setter pair
glFramebuffer ↔ dynamic
getter/setter pair
glMultisampledFramebuffer ↔ dynamic
getter/setter pair
glProjLayer ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputSourcesMap Map
final
isMultisample bool
getter/setter pair
isPresenting bool
getter/setter pair
onAnimationFrameCallback ↔ dynamic
getter/setter pair
pose ↔ dynamic
getter/setter pair
referenceSpace ↔ dynamic
getter/setter pair
referenceSpaceType String
getter/setter pair
renderer WebGLRenderer
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session ↔ dynamic
getter/setter pair
state ↔ dynamic
latefinal
xrFrame ↔ dynamic
getter/setter pair

Methods

addEventListener(String type, Function listener) → void
type - The type of event to listen to.
inherited
clearListeners() → void
Remove all Listeners.
inherited
dispatchEvent(Event event) → void
event - The event that gets fired.
inherited
dispose() → void
getBaseLayer() → dynamic
getBinding() → dynamic
getCamera() ArrayCamera
getController(int index) → dynamic
getControllerGrip(int index) → dynamic
getFoveation() → dynamic
getFrame() → dynamic
getHand(int index) → dynamic
getReferenceSpace() → dynamic
getSession() → dynamic
hasEventListener(String type, Function listener) bool
type - The type of event to listen to.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAnimationFrame(double time, dynamic frame) → void
onInputSourcesChange(dynamic event) → void
onSessionEnd() → void
onSessionEvent(dynamic event) → void
removeEventListener(String type, Function listener) → void
type - The type of the listener that gets removed.
inherited
setAnimationLoop(dynamic callback) → void
setFoveation(dynamic foveation) → void
setFramebufferScaleFactor(dynamic value) → void
setProjectionFromUnion(Camera camera, PerspectiveCamera cameraL, PerspectiveCamera cameraR) → void
Assumes 2 cameras that are parallel and share an X-axis, and that the cameras' projection and world matrices have already been set. And that near and far planes are identical for both cameras. Visualization of this technique: https://computergraphics.stackexchange.com/a/4765
setReferenceSpaceType(dynamic value) → void
setSession(dynamic value) Future<void>
toString() String
A string representation of this object.
inherited
updateCamera(Camera camera) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited