Points
点一个用于显示点的类。 由WebGLRenderer渲染的点使用 gl.POINTS。
基础用法
点阵几何体
点阵波纹
雪花
星空隧道
API
Attributes
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
geometry | 构造函数参数 | BufferGeometry<NormalBufferAttributes> | undefined | No |
material | 构造函数参数 | Material | undefined | No |
options | 实例属性 | PointsOptions | {} | No |
Events
| Name | Description | Type |
|---|---|---|
load | 实例创建后触发方法 | Function |
Provide
| Key | Description | Type |
|---|---|---|
object3dInjectionKey | Points实例 | Points |
materialServiceInjectionKey | Points实例 | CountService<Material> |
Slots
| Name | Description |
|---|---|
default | 默认插槽 |