Zone
Direct Subclass:
A Zone determines the area in 3D space where an emitter's particles can position themselves. They are supplied to both the Position initializer and the CrossZone behaviour.
See:
- {@link '../initialize/Position.js'}
- {@link '../behaviour/CrossZone.js'}
Constructor Summary
Public Constructor | ||
public |
constructor(type: string): * Constructs a Zone instance. |
Method Summary
Public Methods | ||
public |
crossing(particle: *): * |
|
public |
getPosition(): * |
|
public |
Determines if this zone is a BoxZone. |
|
public |
Determines if this zone is a LineZone. |
|
public |
Determines if this zone is a MeshZone. |
|
public |
Determines if this zone is a PointZone. |
|
public |
Determines if this zone is a ScreenZone. |
|
public |
Determines if this zone is a SphereZone. |
Private Methods | ||
private abstract |
_bound(particle: *) |
|
private abstract |
_cross(particle: *) |
|
private abstract |
Sets the particle's dead property to true if required. |