Initial project import
This commit is contained in:
17
node_modules/@react-three/drei/web/WebcamVideoTexture.d.ts
generated
vendored
Normal file
17
node_modules/@react-three/drei/web/WebcamVideoTexture.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import * as React from 'react';
|
||||
import * as THREE from 'three';
|
||||
import { VideoTextureProps } from '../core/VideoTexture';
|
||||
export type WebcamVideoTextureProps = Omit<VideoTextureProps, 'src'> & {
|
||||
constraints?: MediaStreamConstraints;
|
||||
};
|
||||
export declare const WebcamVideoTexture: React.ForwardRefExoticComponent<Omit<{
|
||||
children?: (texture: THREE.VideoTexture) => React.ReactNode;
|
||||
src: string | MediaProvider | null;
|
||||
} & {
|
||||
unsuspend?: keyof HTMLVideoElementEventMap;
|
||||
start?: boolean;
|
||||
hls?: Parameters<(userConfig?: Partial<import("hls.js").HlsConfig> | undefined) => Promise<import("hls.js").default | null>>[0];
|
||||
onVideoFrame?: VideoFrameRequestCallback;
|
||||
} & Partial<Omit<HTMLVideoElement, "children" | "src" | "srcObject">>, "src"> & {
|
||||
constraints?: MediaStreamConstraints;
|
||||
} & React.RefAttributes<THREE.VideoTexture>>;
|
||||
Reference in New Issue
Block a user