setFromScalars Method
Sets the x, y, and z components directly.
setFromScalars(x: number, y: number, z: number): void
Parameter | Type | Description |
---|---|---|
x | number | Must be an integer in the range [0, 0xffff] |
y | number | Must be an integer in the range [0, 0xffff] |
z | number | Must be an integer in the range [0, 0xffff] |
Returns - void
Defined in
- core/common/src/QPoint.ts Line 585
Last Updated: 30 November, 2023