Home > decentraland-ecs > Vector3 > set
Copies the given floats to the current Vector3 coordinates
Signature:
set(x: number, y: number, z: number): Vector3;
Returns: Vector3
the current updated Vector3
Parameter | Type | Description |
---|---|---|
x |
number |
defines the x coordinate of the operand |
y |
number |
defines the y coordinate of the operand |
z |
number |
defines the z coordinate of the operand |