| Package | laya.d3.core.particleShuriKen.module |
| Class | public class Emission |
| Inheritance | Emission Object |
| Implements | laya.d3.core.IClone, laya.resource.IDestroy |
Emission 类用于粒子发射器。
| Property | Defined By | ||
|---|---|---|---|
| destroyed : Boolean [read-only]
获取是否已销毁。
| Emission | ||
| emissionRate : int
获取粒子发射速率。
| Emission | ||
| enbale : Boolean 是否启用。 | Emission | ||
| Method | Defined By | ||
|---|---|---|---|
Emission()
创建一个 Emission 实例。
| Emission | ||
增加粒子爆裂。
| Emission | ||
clearBurst():void
清空粒子爆裂。
| Emission | ||
clone():*
克隆。
| Emission | ||
cloneTo(destObject:*):void
克隆。
| Emission | ||
getBurstByIndex(index:int):Burst
通过索引获取粒子爆裂。
| Emission | ||
getBurstsCount():int
获取粒子爆裂个数。
| Emission | ||
removeBurst(burst:Burst):void
移除粒子爆裂。
| Emission | ||
removeBurstByIndex(index:int):void
通过索引移除粒子爆裂。
| Emission | ||
| destroyed | property |
destroyed:Boolean [read-only] 获取是否已销毁。
public function get destroyed():Boolean| emissionRate | property |
emissionRate:int获取粒子发射速率。
public function get emissionRate():int public function set emissionRate(value:int):void| enbale | property |
public var enbale:Boolean是否启用。
| Emission | () | Constructor |
public function Emission()
创建一个 Emission 实例。
| addBurst | () | method |
| clearBurst | () | method |
public function clearBurst():void清空粒子爆裂。
| clone | () | method |
public function clone():*克隆。
Returns* — 克隆副本。
|
| cloneTo | () | method |
public function cloneTo(destObject:*):void克隆。
Parameters
destObject:* — 克隆源。
|
| getBurstByIndex | () | method |
public function getBurstByIndex(index:int):Burst通过索引获取粒子爆裂。
Parameters
index:int — 爆裂索引。
|
Burst — 粒子爆裂。
|
| getBurstsCount | () | method |
public function getBurstsCount():int获取粒子爆裂个数。
Returnsint — 粒子爆裂个数。
|
| removeBurst | () | method |
| removeBurstByIndex | () | method |
public function removeBurstByIndex(index:int):void通过索引移除粒子爆裂。
Parameters
index:int — 爆裂索引。
|