- Preparing search index...
- The search index is not available
bge-core
Accessors
euler
- get euler(): {
x: number;
y: number;
z: number;
}
-
Returns {
x: number;
y: number;
z: number;
}
-
x: number
-
y: number
-
z: number
isIdentity
- get isIdentity(): boolean
-
Returns boolean
quaternion
- get quaternion(): {
w: number;
x: number;
y: number;
z: number;
}
-
Returns {
w: number;
x: number;
y: number;
z: number;
}
-
w: number
-
x: number
-
y: number
-
z: number
Methods
Static
euler
- euler(x, y, z): Rotation
-
Parameters
-
x: number
-
y: number
-
z: number
Static
quaternion
- quaternion(w, x, y, z): Rotation
-
Parameters
-
w: number
-
x: number
-
y: number
-
z: number
Represents a 3D rotation. Use angleAxis, x, y, z, or euler to create Rotations, and combine them using mul. Apply a rotation to a Vector3 using rotate.