Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 582 Bytes

cloudy.md

File metadata and controls

23 lines (18 loc) · 582 Bytes

cloudy

usage

import { Cloudy, useTheme } from 'threejs-weather'
import { Canvas } from '@react-three/fiber'

const CloudyPage = () => {
  const { bind } = useTheme({ type: 'cloudy', mode: 'day' })
  return (
    <Canvas {...bind()}>
      <Cloudy />
    </Canvas>
  )
}

props

name description type default
count num of clouds(云的数目) number 10