Preparing search index...
The search index is not available
tsParticles - v3.0.0
tsParticles
tsParticles Fireworks Bundle
bundle
Vector
Class Vector
Hierarchy (
view full
)
Vector3d
Vector
Index
Constructors
constructor
Properties
x
y
z
Accessors
angle
length
origin
Methods
add
add
To
copy
distance
To
distance
To
Sq
div
div
To
get
Length
Sq
mult
mult
To
normalize
rotate
set
To
sub
sub
From
clone
create
Constructors
Protected
constructor
new
Vector
(
xOrCoords
,
y
?
)
:
Vector
Parameters
xOrCoords
:
number
|
ICoordinates
Optional
y
:
number
Returns
Vector
Properties
x
x
:
number
y
y
:
number
z
z
:
number
Accessors
angle
get
angle
(
)
:
number
Returns
number
set
angle
(
angle
)
:
void
Parameters
angle
:
number
Returns
void
length
get
length
(
)
:
number
Returns
number
set
length
(
length
)
:
void
Parameters
length
:
number
Returns
void
Static
origin
get
origin
(
)
:
Vector
Returns
Vector
Methods
add
add
(
v
)
:
Vector3d
Parameters
v
:
Vector3d
Returns
Vector3d
add
To
add
To
(
v
)
:
void
Parameters
v
:
Vector3d
Returns
void
copy
copy
(
)
:
Vector3d
Returns
Vector3d
distance
To
distance
To
(
v
)
:
number
Parameters
v
:
Vector3d
Returns
number
distance
To
Sq
distance
To
Sq
(
v
)
:
number
Parameters
v
:
Vector3d
Returns
number
div
div
(
n
)
:
Vector3d
Parameters
n
:
number
Returns
Vector3d
div
To
div
To
(
n
)
:
void
Parameters
n
:
number
Returns
void
get
Length
Sq
get
Length
Sq
(
)
:
number
Returns
number
mult
mult
(
n
)
:
Vector3d
Parameters
n
:
number
Returns
Vector3d
mult
To
mult
To
(
n
)
:
void
Parameters
n
:
number
Returns
void
normalize
normalize
(
)
:
void
Returns
void
rotate
rotate
(
angle
)
:
Vector3d
Parameters
angle
:
number
Returns
Vector3d
set
To
set
To
(
c
)
:
void
Parameters
c
:
ICoordinates
Returns
void
sub
sub
(
v
)
:
Vector3d
Parameters
v
:
Vector3d
Returns
Vector3d
sub
From
sub
From
(
v
)
:
void
Parameters
v
:
Vector3d
Returns
void
Static
clone
clone
(
source
)
:
Vector
Parameters
source
:
Vector
Returns
Vector
Static
create
create
(
x
,
y
?
)
:
Vector
Parameters
x
:
number
|
ICoordinates
Optional
y
:
number
Returns
Vector
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
x
y
z
Accessors
angle
length
origin
Methods
add
add
To
copy
distance
To
distance
To
Sq
div
div
To
get
Length
Sq
mult
mult
To
normalize
rotate
set
To
sub
sub
From
clone
create
tsParticles - v3.0.0
Loading...