Preparing search index...
The search index is not available
@dimforge/rapier2d
@dimforge/rapier2d
Vector2
Class Vector2
A 2D vector.
Hierarchy
Vector2
Implements
Vector
Index
Constructors
constructor
Properties
x
y
Constructors
constructor
new
Vector2
(
x
:
number
, y
:
number
)
:
Vector2
Parameters
x:
number
y:
number
Returns
Vector2
Properties
x
x
:
number
y
y
:
number
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
@dimforge/rapier2d
default
Vector2
constructor
x
y
Generated using
TypeDoc
A 2D vector.