react-three-renderer icon indicating copy to clipboard operation
react-three-renderer copied to clipboard

Accessing attributes on a PlaneBufferGeometry?

Open kevinhikaruevans opened this issue 8 years ago • 1 comments

I'm trying to access the attributes property of a PlaneBufferGeometry. What's the best way to do this?

With three.js, I can just do:

var planeGeometry = new THREE.PlaneGeometry(1, 1);
planeGeometry.attributes.uv.setXY(0, 1.0, 0.5);

Would it be best to add a ref, then update the attributes in componentDidMount?

kevinhikaruevans avatar Dec 28 '16 17:12 kevinhikaruevans

I think so, but I will take a look to see if we can use props to do something like this

toxicFork avatar Jan 03 '17 11:01 toxicFork