mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 04:12:02 +08:00
more docs
This commit is contained in:
parent
f1b9c13c94
commit
50d158c7c6
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user