Directions
- Vector3.right == Vector3(1, 0, 0)
- Vector3.up == Vector3(0, 1, 0)
- Vector3.forward == Vector3(0, 0, 1)
- Vector3.left == Vector3(-1, 0, 0)
- Vector3.down == Vector3(0, -1, 0)
- Vector3.back == Vector3(0, 0, -1)
Vector3 Static Properties
- Vector3.zero == Vector3(0, 0, 0)
- Vector3.one == Vector3(1, 1, 1)
- Vector3.positiveInfinity == Vector3(float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity)
- Vector3.negativeInfinity == Vector3(float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity).
Vector3 Properties
- Vector3.magnitude : 벡터 크기
- Vector3.normalized : 방향이 같고 벡터 크기가 1일 때의 벡터 값
- Vector3.sqrMagnitude : 벡터 크기의 제곱근
- Vector3.this : [0], [1], [2]로 x, y, z값에 접근 가능, ex) Vector3.this[0] = 해당 벡터의 x값
- Vector3.x : 벡터의 x값
- Vector3.y : 벡터의 y값
- Vector3.z : 벡터의 z값