component
Shore
Sloped beach/shore strip to meet a Lake.
Add it
npx @runek/cli add shore
Pulls @react-three/rapier@^2.2.0, @runek/core@^0.13.0.
Use it
import { Shore } from './runek/Shore'
<Shore position={[0, 0, 0]} />
Props
export interface ShoreProps {
position?: Vec3
rotation?: Vec3
/** `[width, depth]` in units. The sandy top sits at the component origin. */
size?: [number, number]
thickness?: number
/** Defaults to the world palette's `sand` slot. */
color?: string
}
Registry manifest
registry manifest /r/components/shore.json Self-contained JSON: inlined source plus resolved dependencies, exactly whatrunek add shore fetches.
Browse the whole catalog in the gallery →.