XRScanshot¶
Interface XRScanshotExperimental
interface XRScanshot {
metadata: {
projectionMatrix: Matrix4x4 | Float32Array<ArrayBufferLike>;
viewMatrix: Matrix4x4 | Float32Array<ArrayBufferLike>;
};
pointCloudData?: { points: CloudPoint[] };
}
metadata: {
projectionMatrix: Matrix4x4 | Float32Array<ArrayBufferLike>;
viewMatrix: Matrix4x4 | Float32Array<ArrayBufferLike>;
};
pointCloudData?: { points: CloudPoint[] };
}
Index
Properties
Properties
Experimentalmetadata
metadata: {
projectionMatrix: Matrix4x4 | Float32Array<ArrayBufferLike>;
viewMatrix: Matrix4x4 | Float32Array<ArrayBufferLike>;
}
projectionMatrix: Matrix4x4 | Float32Array<ArrayBufferLike>;
viewMatrix: Matrix4x4 | Float32Array<ArrayBufferLike>;
}
Stores any additional information about the scanshot other than the raw data itself.
Optional Experimentalpoint Cloud Data
Represents the scanshot as point cloud.
Type Declaration
points: CloudPoint[]
The CloudPoints within the point cloud representing the scan.
Was this page helpful? Please leave a thumbs up or down.
Represents a texture scanshot of the current view in the XR environment.
A texture scanshot augments the digital model with the color of its real-world counterpart using the texture information from the camera stream.
Model-based tracking is required to map texture data to the model with the correct position and orientation.
See