- Preparing search index...
- The search index is not available
bge-core
Constructors
constructor
- new Vector3(x?, y?, z?): Vector3
-
Parameters
-
Optional
x: number
-
Optional
y: number
-
Optional
z: number
- new Vector3(value): Vector3
-
Parameters
-
value: {
x?: number;
y?: number;
z?: number;
}
-
Optional
x?: number
-
Optional
y?: number
-
Optional
z?: number
Accessors
isZero
- get isZero(): boolean
-
Returns boolean
length
- get length(): number
-
Returns number
lengthSquared
- get lengthSquared(): number
-
Returns number
Methods
dot
- dot(vector): number
-
Returns number
equals
- equals(vector, epsilon?): boolean
-
Parameters
-
-
epsilon: number = Number.EPSILON
Returns boolean