XRDepthInformation class
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface contains information about the distance from the user’s device to the real-world geometry in the user’s environment. This interface is the parent of:
Depth information from the CPU (returned by
XRFrame.getDepthInformation()
).
Depth information from WebGL (returned by
XRWebGLBinding.getDepthInformation()
).
You will usually interact with these child interfaces. However, provides some useful properties that are inherited:
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- XRDepthInformation()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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