Constructor Summary
Public Constructor | ||
public |
constructor(bounds: THREE.Geometry | Mesh, scale: number, ThreeGeometry: THREE.Geometry): * |
Method Summary
Public Methods | ||
public |
getPosition(): * |
|
public |
Returns true to indicate this is a MeshZone. |
Inherited Summary
From class Zone | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
type: * |
|
public |
vector: * |
|
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 abstract |
_bound(particle: *) |
|
private abstract |
_cross(particle: *) |
|
private abstract |
Sets the particle's dead property to true if required. |
Public Constructors
public constructor(bounds: THREE.Geometry | Mesh, scale: number, ThreeGeometry: THREE.Geometry): * source
Constructs a Zone instance.
Override:
Zone#constructorParams:
Name | Type | Attribute | Description |
bounds | THREE.Geometry | Mesh | the geometry or mesh that will determine the zone bounds |
|
scale | number | the zone scale |
|
ThreeGeometry | THREE.Geometry | the three geometry class |
Return:
* | void |
Public Methods
public isMeshZone(): boolean source
Returns true to indicate this is a MeshZone.