UNPKG

react-native-filament

Version:

A real-time physically based 3D rendering engine for React Native

11 lines 562 B
import { LightConfig, LightManager } from '../types'; import { ISharedValue } from 'react-native-worklets-core'; export type UseLightEntityProps = LightConfig | (Omit<LightConfig, 'intensity' | 'colorKelvin'> & { intensity?: number | ISharedValue<number>; colorKelvin?: number | ISharedValue<number>; }); /** * Creates a new memoized light entity based on the given configuration. */ export declare function useLightEntity(lightManager: LightManager, config: UseLightEntityProps): import("../types").Entity; //# sourceMappingURL=useLightEntity.d.ts.map