Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
LeapMotionTS.d
Vector3
Class Vector3
Index
Constructor methods
constructor
Properties
pitch
roll
x
y
yaw
z
Methods
angleTo
backward
cross
distanceTo
divide
divideAssign
dot
down
forward
invalid
isEqualTo
isValid
left
magnitude
magnitudeSquared
minus
minusAssign
multiply
multiplyAssign
normalized
opposite
plus
plusAssign
right
toString
up
xAxis
yAxis
zAxis
zero
Constructor methods
constructor
(
x
:
number
, y
:
number
, z
:
number
)
:
Vector3
Parameters
x:
number
y:
number
z:
number
Returns
Vector3
Properties
public
pitch
:
number
public
roll
:
number
public
x
:
number
public
y
:
number
public
yaw
:
number
public
z
:
number
Methods
public
angleTo
(
other
:
Vector3
)
:
number
Parameters
other:
Vector3
Returns
number
public
static
backward
(
)
:
Vector3
Returns
Vector3
public
cross
(
other
:
Vector3
)
:
Vector3
Parameters
other:
Vector3
Returns
Vector3
public
distanceTo
(
other
:
Vector3
)
:
number
Parameters
other:
Vector3
Returns
number
public
divide
(
scalar
:
number
)
:
Vector3
Parameters
scalar:
number
Returns
Vector3
public
divideAssign
(
scalar
:
number
)
:
Vector3
Parameters
scalar:
number
Returns
Vector3
public
dot
(
other
:
Vector3
)
:
number
Parameters
other:
Vector3
Returns
number
public
static
down
(
)
:
Vector3
Returns
Vector3
public
static
forward
(
)
:
Vector3
Returns
Vector3
public
static
invalid
(
)
:
Vector3
Returns
Vector3
public
isEqualTo
(
other
:
Vector3
)
:
boolean
Parameters
other:
Vector3
Returns
boolean
public
isValid
(
)
:
boolean
Returns
boolean
public
static
left
(
)
:
Vector3
Returns
Vector3
public
magnitude
(
)
:
number
Returns
number
public
magnitudeSquared
(
)
:
number
Returns
number
public
minus
(
other
:
Vector3
)
:
Vector3
Parameters
other:
Vector3
Returns
Vector3
public
minusAssign
(
other
:
Vector3
)
:
Vector3
Parameters
other:
Vector3
Returns
Vector3
public
multiply
(
scalar
:
number
)
:
Vector3
Parameters
scalar:
number
Returns
Vector3
public
multiplyAssign
(
scalar
:
number
)
:
Vector3
Parameters
scalar:
number
Returns
Vector3
public
normalized
(
)
:
Vector3
Returns
Vector3
public
opposite
(
)
:
Vector3
Returns
Vector3
public
plus
(
other
:
Vector3
)
:
Vector3
Parameters
other:
Vector3
Returns
Vector3
public
plusAssign
(
other
:
Vector3
)
:
Vector3
Parameters
other:
Vector3
Returns
Vector3
public
static
right
(
)
:
Vector3
Returns
Vector3
public
toString
(
)
:
string
Returns
string
public
static
up
(
)
:
Vector3
Returns
Vector3
public
static
xAxis
(
)
:
Vector3
Returns
Vector3
public
static
yAxis
(
)
:
Vector3
Returns
Vector3
public
static
zAxis
(
)
:
Vector3
Returns
Vector3
public
static
zero
(
)
:
Vector3
Returns
Vector3
Globals
LeapMotionTS.d
Listener
CircleGesture
Controller
DefaultListener
EventDispatcher
Finger
Frame
Gesture
Hand
KeyTapGesture
LeapEvent
LeapUtil
Matrix
Pointable
ScreenTapGesture
SwipeGesture
Tool
Vector3
constructor
pitch
roll
x
y
yaw
z
angleTo
backward
cross
distanceTo
divide
divideAssign
dot
down
forward
invalid
isEqualTo
isValid
left
magnitude
magnitudeSquared
minus
minusAssign
multiply
multiplyAssign
normalized
opposite
plus
plusAssign
right
toString
up
xAxis
yAxis
zAxis
zero