XRWebGLBinding class
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface is used to create layers that have a GPU backend.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- XRWebGLBinding(XRSession session, dynamic context)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- nativeProjectionScaleFactor → double
-
Available on XRWebGLBinding, provided by the PropsXRWebGLBinding extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- usesDepthValues → bool
-
Available on XRWebGLBinding, provided by the PropsXRWebGLBinding extension
no setter
Methods
-
createCubeLayer(
[XRCubeLayerInit? init]) → XRCubeLayer -
Available on XRWebGLBinding, provided by the PropsXRWebGLBinding extension
-
createCylinderLayer(
[XRCylinderLayerInit? init]) → XRCylinderLayer -
Available on XRWebGLBinding, provided by the PropsXRWebGLBinding extension
-
createEquirectLayer(
[XREquirectLayerInit? init]) → XREquirectLayer -
Available on XRWebGLBinding, provided by the PropsXRWebGLBinding extension
-
createProjectionLayer(
[XRProjectionLayerInit? init]) → XRProjectionLayer -
Available on XRWebGLBinding, provided by the PropsXRWebGLBinding extension
-
createQuadLayer(
[XRQuadLayerInit? init]) → XRQuadLayer -
Available on XRWebGLBinding, provided by the PropsXRWebGLBinding extension
-
getDepthInformation(
XRView view) → XRWebGLDepthInformation? -
Available on XRWebGLBinding, provided by the PropsXRWebGLBinding extension
-
getReflectionCubeMap(
XRLightProbe lightProbe) → WebGLTexture? -
Available on XRWebGLBinding, provided by the PropsXRWebGLBinding extension
-
getSubImage(
XRCompositionLayer layer, XRFrame frame, [XREye? eye = XREye.none]) → XRWebGLSubImage -
Available on XRWebGLBinding, provided by the PropsXRWebGLBinding extension
-
getViewSubImage(
XRProjectionLayer layer, XRView view) → XRWebGLSubImage -
Available on XRWebGLBinding, provided by the PropsXRWebGLBinding extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited