Scale
Multiplies two vectors component-wise.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Scale(Vector3Int, Vector3Int)
Multiplies two vectors component-wise.
public static Vector3Int Scale(Vector3Int a, Vector3Int b)
Parameters
Returns
Type | Description |
|---|---|
| Vector3Int | A component of |
Remarks
Every component in the result is a component of multiplied by the same component of .
abScale(Vector3Int, Vector3Int)
Multiplies two vectors component-wise.
public static Vector3Int Scale(in Vector3Int a, in Vector3Int b)
Parameters
Returns
Type | Description |
|---|---|
| Vector3Int | A component of |
Remarks
Every component in the result is a component of multiplied by the same component of .
abScale(Vector3Int)
Multiplies every component of this vector by the same component of .
scalepublic void Scale(Vector3Int scale)
Parameters
The vector to multiply by.
Scale(Vector3Int)
Multiplies every component of this vector by the same component of .
scalepublic void Scale(in Vector3Int scale)
Parameters
The vector to multiply by.