Documentation
Preparing search index...
Copy @link
@lopoly/core
math/Quaternion
IReadOnlyQuaternion
Interface IReadOnlyQuaternion
No description provided.
interface
IReadOnlyQuaternion
{
get
w
()
:
number
;
get
x
()
:
number
;
get
y
()
:
number
;
get
z
()
:
number
;
clone
()
:
IReadOnlyQuaternion
;
invert
()
:
IReadOnlyQuaternion
;
multiply
(
q
:
IReadOnlyQuaternion
)
:
IReadOnlyQuaternion
;
normalize
()
:
IReadOnlyQuaternion
;
rotateVector
(
vector
:
Vector3
)
:
Vector3
;
rotateVectorInPlace
(
vector
:
Vector3
)
:
Vector3
;
slerp
(
right
:
IReadOnlyQuaternion
,
t
:
number
)
:
IReadOnlyQuaternion
;
toEuler
()
:
EulerVector3
;
toString
()
:
string
;
}
Implemented by
Quaternion
Index
Accessors
w
x
y
z
Methods
clone
invert
multiply
normalize
rotate
Vector
rotate
Vector
In
Place
slerp
to
Euler
to
String
Accessors
w
get
w
()
:
number
No description provided.
Returns
number
x
get
x
()
:
number
No description provided.
Returns
number
y
get
y
()
:
number
No description provided.
Returns
number
z
get
z
()
:
number
No description provided.
Returns
number
Methods
clone
clone
()
:
IReadOnlyQuaternion
No description provided.
Returns
IReadOnlyQuaternion
invert
invert
()
:
IReadOnlyQuaternion
No description provided.
Returns
IReadOnlyQuaternion
multiply
multiply
(
q
:
IReadOnlyQuaternion
)
:
IReadOnlyQuaternion
No description provided.
Parameters
q
:
IReadOnlyQuaternion
Returns
IReadOnlyQuaternion
normalize
normalize
()
:
IReadOnlyQuaternion
No description provided.
Returns
IReadOnlyQuaternion
rotate
Vector
rotateVector
(
vector
:
Vector3
)
:
Vector3
No description provided.
Parameters
vector
:
Vector3
Returns
Vector3
rotate
Vector
In
Place
rotateVectorInPlace
(
vector
:
Vector3
)
:
Vector3
No description provided.
Parameters
vector
:
Vector3
Returns
Vector3
slerp
slerp
(
right
:
IReadOnlyQuaternion
,
t
:
number
)
:
IReadOnlyQuaternion
No description provided.
Parameters
right
:
IReadOnlyQuaternion
t
:
number
Returns
IReadOnlyQuaternion
to
Euler
toEuler
()
:
EulerVector3
No description provided.
Returns
EulerVector3
to
String
toString
()
:
string
No description provided.
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Accessors
w
x
y
z
Methods
clone
invert
multiply
normalize
rotate
Vector
rotate
Vector
In
Place
slerp
to
Euler
to
String
Collapse all
Documentation
Loading...
No description provided.