UNPKG

hpg-r3f-model-scene

Version:

Pretty Footer react component used in ant.design

29 lines (28 loc) 1.06 kB
import React from 'react'; import { INodeMaterial as NodeMaterial, TextureRotation, TextureRepeat, TextureMap } from './interface'; import * as THREE1 from 'three'; import type { iNode } from './utils'; export type INodeMaterial = NodeMaterial; export type ITextureRotation = TextureRotation; export type ITextureRepeat = TextureRepeat; export type ITextureMap = TextureMap; export declare const THREE: typeof THREE1; export interface ModelSceneProps { prefixCls?: string; bottom?: React.ReactNode; maxColumnsPerRow?: number; theme?: 'dark' | 'light'; className?: string; style?: React.CSSProperties; backgroundColor?: string; columnLayout?: 'space-around' | 'space-between'; onChangeMaterial?: (inode: iNode) => void; exportScene?: (render: any) => void; screenshot?: boolean; material?: INodeMaterial; onScreenShot?: (base64Img: string) => void; modelStyle?: 'sphere' | 'example'; margin?: number; } declare const ModelScene: (props: ModelSceneProps) => React.JSX.Element; export default ModelScene;