Property | Defined By | ||
---|---|---|---|
direction : Point [read-only]
Returns a normalized vector that describes the direction of the force. | Force | ||
initialLifeTime : Number [read-only]
Returns the life time of the force (subtracted by the engine's current time)
| Force | ||
lifetime : Number [read-only]
Returns the lifetime of the force
| Force | ||
magnitude : Number [read-only]
Returns the current magnitude (speed)
| Force |
Method | Defined By | ||
---|---|---|---|
Force(pSetDirection:Point, nSetMagnitude:Number = 0, nSetLifeTime:Number) | Force |
direction | property |
direction:Point
[read-only] Returns a normalized vector that describes the direction of the force.
public function get direction():Point
initialLifeTime | property |
initialLifeTime:Number
[read-only] Returns the life time of the force (subtracted by the engine's current time)
public function get initialLifeTime():Number
lifetime | property |
lifetime:Number
[read-only] Returns the lifetime of the force
public function get lifetime():Number
magnitude | property |
magnitude:Number
[read-only] Returns the current magnitude (speed)
public function get magnitude():Number
Force | () | Constructor |
public function Force(pSetDirection:Point, nSetMagnitude:Number = 0, nSetLifeTime:Number)
pSetDirection:Point | |
nSetMagnitude:Number (default = 0 )
| |
nSetLifeTime:Number (default = NaN )
|