Vector
Constructor
constructor
constructor(x = 0, y = 0, z = 0): Vector
Parameters:
Name | Type | Required | Default | Description |
---|---|---|---|---|
x | number | No | 0 | |
y | number | No | 0 | |
z | number | No | 0 |
Properties
x
Type | Description |
---|---|
number |
y
Type | Description |
---|---|
number |
z
Type | Description |
---|---|
number |
Methods
set
Parameters:
Name | Type | Required | Default | Description |
---|---|---|---|---|
value | {x: number, y: number, z: number} | Yes | - |
Returns:
Type: this