Translates the vertices of this Face by the given amounts.
The actual vertex positions are adjusted, not their transformed position.
Therefore, this updates the vertex data directly.
name | type | arguments | description |
---|---|---|---|
x | number |
The amount to horizontally translate by. |
|
y | number | <optional> |
The amount to vertically translate by. |
This Face instance.