Points

一个用于显示点的类。 由WebGLRenderer渲染的点使用 gl.POINTS。

基础用法

点阵几何体

点阵波纹

雪花

星空隧道

API

Attributes

NameDescriptionTypeDefaultRequired
geometry构造函数参数BufferGeometry<NormalBufferAttributes>undefinedNo
material构造函数参数MaterialundefinedNo
options实例属性PointsOptions{}No

Events

NameDescriptionType
load实例创建后触发方法Function

Provide

KeyDescriptionType
object3dInjectionKeyPoints实例Points
materialServiceInjectionKeyPoints实例CountService<Material>

Slots

NameDescription
default默认插槽

源代码

文档