BoxZone
Extends:
Constructor Summary
| Public Constructor | ||
| public |
BoxZone is a box zone |
|
Member Summary
| Public Members | ||
| public |
depth: * |
|
| public |
|
|
| public |
height: * |
|
| public |
|
|
| public |
width: * |
|
| public |
x: * |
|
| public |
y: * |
|
| public |
z: * |
|
Method Summary
| Public Methods | ||
| public |
getPosition(): * |
|
| public |
Returns true to indicate this is a BoxZone. |
|
| Private Methods | ||
| private |
_bound(particle: *) |
|
| private |
_cross(particle: *) |
|
| private |
_dead(particle: *) |
|
| private |
_static(particle: *, axis: *) |
|
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 Members
public depth: * source
public height: * source
public width: * source
public x: * source
public y: * source
public z: * source
Public Methods
public isBoxZone(): boolean source
Returns true to indicate this is a BoxZone.
Override:
Zone#isBoxZonePrivate Methods
private _bound(particle: *) source
Override:
Zone#_boundParams:
| Name | Type | Attribute | Description |
| particle | * |
private _cross(particle: *) source
Override:
Zone#_crossParams:
| Name | Type | Attribute | Description |
| particle | * |
private _dead(particle: *) source
Sets the particle's dead property to true if required.
Override:
Zone#_deadParams:
| Name | Type | Attribute | Description |
| particle | * |
private _static(particle: *, axis: *) source
Params:
| Name | Type | Attribute | Description |
| particle | * | ||
| axis | * |
