seinjs-gpu-particle-system > RectangleEmitter
长方形发射器
↳ Emitter<IRectangleEmitterOptions, IRectangleEmitterUniforms>
↳ RectangleEmitter
▸ getShadersAndModifyUniforms(options: IRectangleEmitterOptions, uniforms: IRectangleEmitterUniforms): object
Overrides Emitter.getShadersAndModifyUniforms
Defined in emitter/RectangleEmitter.ts:51
根据参数,添加uniform并获取具体实现的Shader
Parameters:
Name | Type |
---|---|
options | IRectangleEmitterOptions |
uniforms | IRectangleEmitterUniforms |
Returns: object