FlyPoints
小于 1 分钟
FlyPoints
浮点对象,继承自Thing对象,拥有Thing、THREE.Object3D一切属性和方法。
构造
new VT.FlyPoints({
    number : 1000, 
    range : 100,
    bottom: 0,
    top: 100,
    speed: [0, 0.1, 0],
    material: {
        size: 2.0,
        opacity: 1.0,
        transparent: true,
    }
});
属性成员
type
- 类型: 
{String}FlyPoints 
isFlyPoints
- 类型: 
{Boolean}是否浮点对象,是,只读,不可改 
particle
- 类型:
THREE.Points点粒子对象 
size
- 类型:
{Number}点大小 
number
- 类型:
{Number}点数量 
range
- 类型:
{Number}点位范围 
top
- 类型:
{Number}顶部高度 
bottom
- 类型:
{Number}底部高度 
方法
updatePoints
更新点位
- updatePoints(points)
 - 类型:
{Function} - 参数: 
- points 
{Array<Array<Number>}[[0, 0, 0],...] 
 - points 
 - 返回:无