ScanningCircleShader

呈现扫描环效果

new YS.ScanningCircleShader(ys, i3d)

扫描环shader
Name Type Description
ys YouScene YouScene实例
i3d I3d 3d对象
Implements:
Example:
var shader = new YS.ScanningCircleShader(that.ys, model);
shader.init([0,0], YS.Color.RED, 100, 10); //开始工作
shader.update([100,100]); //更新扫描中心

Methods

init(options)

初始化shader
Name Type Description
options Object optional options
Name Type Description
programs Array.<Number> optional 要更改shader的program序号数组
Implements:

update()

更新shader数据
Implements: