react-native-filament
Version:
A real-time physically based 3D rendering engine for React Native
10 lines • 488 B
TypeScript
import { LightConfig, LightManager } from '../types';
import { ISharedValue } from 'react-native-worklets-core';
export type UseLightEntityProps = LightConfig | (Omit<LightConfig, 'intensity'> & {
intensity?: 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