Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tohsaka888/react-three-course
https://github.com/tohsaka888/react-three-course
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tohsaka888/react-three-course
- Owner: tohsaka888
- Created: 2022-07-27T02:18:18.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T02:35:40.000Z (6 months ago)
- Last Synced: 2024-05-22T03:35:12.243Z (6 months ago)
- Language: TypeScript
- Size: 513 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Note
### `mesh`与`object3D`的区别
- `mesh`代表场景中的一个节点,他可以包含材质`material`和几何体`geometry`
- `object3D`也是代表场景中的一个节点,但是他没有材质`material`和几何体`geometry`,他只代表一个局部空间。> `object3D`有点类似`svg`中的`g`
### `react-three-fiber`中的 camera
`react-three-fiber`中`camera`好像只能通过`Canvas`创建????
实际使用`perspectiveCamera`,设置位置和`lookAt`好像无效???> 已解决
### `axesHelper` 设置 `material`
不能直接通过标签属性修改(ts报错),使用ref hook+effect hook修改