Package | Box2D.Common.Math |
Class | public class b2Vec3 |
Source | b2Vec3.as |
Method | Defined by | ||
---|---|---|---|
b2Vec3(x:Number = 0, y:Number = 0, z:Number = 0)
Construct using co-ordinates
| b2Vec3 | ||
b2Vec3 | |||
b2Vec3 | |||
Multiply(a:Number):void
| b2Vec3 | ||
Negate this vector
| b2Vec3 | ||
Set(x:Number, y:Number, z:Number):void
Set this vector to some specified coordinates.
| b2Vec3 | ||
b2Vec3 | |||
SetZero():void
Sets this vector to all zeros
| b2Vec3 | ||
b2Vec3 |
x | property |
public var x:Number
y | property |
public var y:Number
z | property |
public var z:Number
b2Vec3 | () | constructor |
public function b2Vec3(x:Number = 0, y:Number = 0, z:Number = 0)
Construct using co-ordinates
Parametersx:Number (default = 0 )
|
|
y:Number (default = 0 )
|
|
z:Number (default = 0 )
|
Add | () | method |
Copy | () | method |
Multiply | () | method |
public function Multiply(a:Number):void
Parameters
a:Number |
Negative | () | method |
Set | () | method |
public function Set(x:Number, y:Number, z:Number):void
Set this vector to some specified coordinates.
Parametersx:Number |
|
y:Number |
|
z:Number |
SetV | () | method |
SetZero | () | method |
public function SetZero():void
Sets this vector to all zeros
Subtract | () | method |