component
Hedge
A trimmed green wall with seeded surface tufts; blocks like a Wall.
Add it
npx @runek/cli add hedge
Pulls @react-three/rapier@^2.2.0, @runek/core@^0.13.0, three@^0.184.0.
Use it
import { Hedge } from './runek/Hedge'
<Hedge position={[0, 0, 0]} seed={1} />
Props
export interface HedgeProps {
position?: Vec3
rotation?: Vec3
/** Length along local X, in units. */
length?: number
height?: number
depth?: number
/** Defaults to the world palette's `foliage` slot. */
color?: string
seed?: number
}
Registry manifest
registry manifest /r/components/hedge.json Self-contained JSON: inlined source plus resolved dependencies, exactly whatrunek add hedge fetches.
Browse the whole catalog in the gallery →.