MCPcopy
hub / github.com/pmndrs/react-three-fiber / Candy

Function Candy

example/src/demos/ViewTracking.tsx:50–56  ·  view source on GitHub ↗
(props: ThreeElements['group'])

Source from the content-addressed store, hash-verified

48}
49
50function Candy(props: ThreeElements['group']) {
51 const { scene } = useGLTF(
52 'https://vazxmixjsiawhamofees.supabase.co/storage/v1/object/public/models/candy-bucket/model.gltf',
53 )
54 useFrame((state, delta) => (scene.rotation.z = scene.rotation.y += delta))
55 return <primitive object={scene} {...props} />
56}
57
58function Flash(props: ThreeElements['group']) {
59 const { scene } = useGLTF('/lightning.gltf')

Callers

nothing calls this directly

Calls 1

useFrameFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…