프로퍼티 | 타입 | 설명 | |
---|---|---|---|
X | double | ||
Y | double | ||
Z | double |
메소드 | 설명 | |
---|---|---|
Distance ( Vector3 a, Vector3 b ) : double |
Returns the distance between two vectors.
|
|
DistanceSquared ( Vector3 a, Vector3 b ) : double |
Returns the squared distance between two vectors.
|
|
Dot ( Vector3 a, Vector3 b ) : double |
Returns the dot product of two vectors.
|
|
Normalize ( Vector3 vector ) : Vector3 |
Returns the normalized version of a vector.
|
|
Vector3 ( double x, double y, double z ) : System |
Create a new Vector3 from coordinates.
|
|
operator ( ) : Vector3 |
Multiplies a vector by a matrix..
|
public static Distance ( Vector3 a, Vector3 b ) : double | ||
a | Vector3 | The first vector. |
b | Vector3 | The second vector. |
리턴 | double |
public static DistanceSquared ( Vector3 a, Vector3 b ) : double | ||
a | Vector3 | The first vector. |
b | Vector3 | The second vector. |
리턴 | double |
public static Dot ( Vector3 a, Vector3 b ) : double | ||
a | Vector3 | The first vector. |
b | Vector3 | The second vector. |
리턴 | double |
public static Normalize ( Vector3 vector ) : Vector3 | ||
vector | Vector3 | The vector to normalize. |
리턴 | Vector3 |
public Vector3 ( double x, double y, double z ) : System | ||
x | double | The X coordinate. |
y | double | The Y coordinate. |
z | double | The Z coordinate. |
리턴 | System |