format
typescript
Vector4.DivAssign(rhs)class: Vector4
description
Divides the components of the current vector object by the corresponding components of another vector or a scalar value, and assigns the result to the current vector object.
parameter
| param_name | type | description |
|---|---|---|
| rhs | number|Vector4 | The vector or scalar value used for the division operation. |
reture
| type | description |
|---|---|
void |
code example
typescript
let lhs = new Vector4(1, 2, 3, 4);
lhs.DivAssign(1);
lhs.DivAssign(new Vector4(1, 2, 3, 4));