Skip to content

How to use a normal Canvas within this? (or how to do onCreated) #34

@PhilAndrew

Description

@PhilAndrew

I wish to use onCreated from the normal Canvas, I usually did it like this:

export default function App() {
  return (
    <Canvas onCreated={({ gl }) => void (gl.localClippingEnabled = true)}>
...

How can I do it within react-three-gui? The reason is that I want to do the onCreated as above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions