Threepp.Euler¶
Euler angles class
Euler angles that represent a rotation.
Members¶
Constructors¶
Properties¶
Methods¶
Euler¶
Constructor
Arguments
| Arguments | Default | Description |
|---|---|---|
x |
0 |
Rotation around the X axis (radians). |
y |
0 |
Rotation around the Y axis (radians). |
z |
0 |
Rotation around the Z axis (radians). |
Description
Constructor
x¶
Property \ Access: r/w
Description
Rotation around the X axis (read-only)
y¶
Property \ Access: r/w
Description
Rotation around the Y axis (read-only)
z¶
Property \ Access: r/w
Description
Rotation around the Z axis (read-only)
getOrder¶
Method
Description
Gets the rotation order
setOrder¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
order |
|
Description
Sets the rotation order
set¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
x |
|
|
y |
|
|
z |
|
Description
Sets the values
copy¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
euler |
|
Description
Copies another Euler
setFromRotationMatrix¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
m |
|
Description
Sets the angles from a rotation matrix
setFromQuaternion¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
q |
|
Description
Sets the angles from a quaternion
setFromVector3¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
v |
|
Description
Sets the angles from a Vector3
equals¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
euler |
|
Description
Equality test