只会在特定角度出现
import { Rain, RainRings, useTheme } from 'threejs-weather'
import { Canvas } from 'react-three/fiber'
const RainPage = () => {
const { bind } = useTheme({ type: 'rain', mode: 'day' })
return (
<Canvas
{...bind()}
>
<Rain />
<RainRings />
</Canvas>
)
}
可配合rain-ring使用
name | description | type | default |
---|---|---|---|
count | num of rainring(雨斑的数目) | number | 10 |