title | category | layout | tags | prism_languages | ||
---|---|---|---|---|---|---|
Vector |
Geometry |
2017/sheet |
|
|
| Vector3.right
| (1, 0, 0)
|
| Vector3.left
| (-1, 0, 0)
|
| Vector3.up
| (0, 1, 0)
|
| Vector3.down
| (0, -1, 0)
|
| Vector3.forward
| (0, 0, 1)
|
| Vector3.back
| (0, 0, -1)
|
| Vector3.zero
| (0, 0, 0)
|
| Vector3.one
| (1, 1, 1)
|
| Vector2.right
| (1, 0)
|
| Vector2.left
| (-1, 0)
|
| Vector2.up
| (0, 1)
|
| Vector2.down
| (0, -1)
|
| Vector2.zero
| (0, 0)
|
| Vector2.one
| (1, 1)
|
| myVector.magnitude
| Length of this Vector |
| myVector.normalized
| Keeps direction, but reduces length to 1 |