Preparing search index...
The search index is not available
tsParticles - v3.0.0
tsParticles
tsParticles Full Bundle
bundle
Vector3d
Class Vector3d
Hierarchy (
view full
)
Vector3d
Vector
Implements
ICoordinates3d
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
Vector3d
(
xOrCoords
,
y
?
,
z
?
)
:
Vector3d
Parameters
xOrCoords
:
number
|
ICoordinates
|
ICoordinates3d
Optional
y
:
number
Optional
z
:
number
Returns
Vector3d
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
(
)
:
Vector3d
Returns
Vector3d
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
)
:
Vector3d
Parameters
source
:
Vector3d
Returns
Vector3d
Static
create
create
(
x
,
y
?
,
z
?
)
:
Vector3d
Parameters
x
:
number
|
ICoordinates3d
Optional
y
:
number
Optional
z
:
number
Returns
Vector3d
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...