Initial project import
This commit is contained in:
32
node_modules/@react-three/drei/core/Caustics.d.ts
generated
vendored
Normal file
32
node_modules/@react-three/drei/core/Caustics.d.ts
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
import * as THREE from 'three';
|
||||
import * as React from 'react';
|
||||
import { ReactThreeFiber, ThreeElements } from '@react-three/fiber';
|
||||
import { ForwardRefComponent } from '../helpers/ts-utils';
|
||||
export type CausticsProps = Omit<ThreeElements['group'], 'ref'> & {
|
||||
frames?: number;
|
||||
debug?: boolean;
|
||||
causticsOnly: boolean;
|
||||
backside: boolean;
|
||||
ior?: number;
|
||||
backsideIOR?: number;
|
||||
worldRadius?: number;
|
||||
intensity?: number;
|
||||
color?: ReactThreeFiber.Color;
|
||||
resolution?: number;
|
||||
lightSource?: [x: number, y: number, z: number] | React.RefObject<THREE.Object3D>;
|
||||
};
|
||||
declare module '@react-three/fiber' {
|
||||
interface ThreeElements {
|
||||
causticsProjectionMaterial: ThreeElements['meshNormalMaterial'] & {
|
||||
viewMatrix?: {
|
||||
value: THREE.Matrix4;
|
||||
};
|
||||
color?: ReactThreeFiber.Color;
|
||||
causticsTexture?: THREE.Texture;
|
||||
causticsTextureB?: THREE.Texture;
|
||||
lightProjMatrix?: THREE.Matrix4;
|
||||
lightViewMatrix?: THREE.Matrix4;
|
||||
};
|
||||
}
|
||||
}
|
||||
export declare const Caustics: ForwardRefComponent<CausticsProps, THREE.Group>;
|
||||
Reference in New Issue
Block a user