1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 04:12:02 +08:00

more docs

This commit is contained in:
Sander Moolin 2021-03-26 12:25:29 -04:00
parent f1b9c13c94
commit 50d158c7c6

View File

@ -28,7 +28,7 @@ See [here](https://troisjs-instancedcolors.netlify.app/) for an example ([source
### Object3D additions
New Object3D props (all optional):
See [here](https://troisjs-pointer-tester-demo.netlify.app/) for an example ([source](https://github.com/SaFrMo/trois-examples/blob/pointer-tester-demo/src/components/PointerTester.vue)). New Object3D props (all optional):
* `onPointerEnter`: Function, accepts an object with properties `{ object, intersect }`, containing the object being hovered and the actual intersection.
* `onPointerOver`: Function, accepts an object with properties `{ object, intersect }`, containing the object being hovered and the actual intersection.