Skip to content

How am I supposed to create a threejs component with userData #1212

Answered by drcmda
ThiagoFacchini asked this question in Q&A
Discussion options

You must be logged in to vote

userdata is just a prop like any other:

<gridHelper args={['10', '10', 'white', 'gray']} userData={{ hello: 'world' }} />

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ThiagoFacchini
Comment options

Answer selected by ThiagoFacchini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants