Skip to content

Latest commit

 

History

History
51 lines (27 loc) · 1.47 KB

rectangleemitter.md

File metadata and controls

51 lines (27 loc) · 1.47 KB

seinjs-gpu-particle-system > RectangleEmitter

Class: RectangleEmitter

长方形发射器

Hierarchy

Emitter<IRectangleEmitterOptions, IRectangleEmitterUniforms>

↳ RectangleEmitter

RectangleEmitter

Implements

Index

Methods


Methods

getShadersAndModifyUniforms

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