Optional
target: anyThe number of currently active custom vertex streams.
Control the direction that particles face.
Allow billboard particles to roll around their z-axis.
How much do the particles stretch depending on the Camera's speed.
Enables GPU Instancing on platforms that support it.
是否开启
Flip a percentage of the particles, along each axis.
Enables freeform stretching behavior.
How much are the particles stretched in their direction of motion, defined as the length of the particle compared to its width.
Specifies how the Particle System Renderer interacts with SpriteMask.
Clamp the maximum particle size.
The Mesh that the particle uses instead of a billboarded Texture.
The number of Meshes the system uses for particle rendering.
Clamp the minimum particle size.
Specifies how much a billboard particle orients its normals towards the Camera.
粒子系统
Modify the pivot point used for rotating particles.
Specifies how the system draws particles.
Rotate the particles based on the direction they are stretched in.This is added on top of other particle rotation.
Apply a shadow bias to prevent self - shadowing artifacts.The specified value is the proportion of the particle size.
Specifies how to sort particles within a system.
Biases Particle System sorting amongst other transparencies.
Set the Material that the TrailModule uses to attach trails to particles.
Specifies how much particles stretch depending on their velocity.
发射事件。
返回发射后的事件。
事件的类型。类型区分大小写。
Optional
data: any事件携带的自定义数据。
是否向上级报告事件。默认为false
。
是否向下级广播事件。默认为false
。
是否向平级分享事件。默认为true
。
Protected
handelProtected
handelProtected
handel向平级分享事件
事件
Protected
handle移除监听
移除所有监听
Optional
type: K事件的类型。可选。该值为空时所有被监听对象上的监听均将被移除。
移除监听对象的任意事件。
为监听对象新增指定类型的事件监听。
监听对象的任意事件,该对象的任意事件都将触发该监听器的调用。
监听一次事件后将会被移除
Static
get获取事件发射器
Static
get获取事件发射器,当没有找到对应发射器时,返回新建的事件发射器。
Generated using TypeDoc
Use this class to render particles on to the screen.