Property | Type | Description | |
---|---|---|---|
X | double | ||
Y | double | ||
Z | double |
Method | Description | |
---|---|---|
Angle ( Vector3 a ) : double |
Angle in radians between this vector and vector passed as an argument.
|
|
AngleInDegrees ( Vector3 a ) : double |
Angle in degrees between the vector and passed as an argument.
|
|
CrossProduct ( Vector3 a ) : Vector3 |
Calculates the cross product of this vector and the vector is passed as an argument.
|
|
Distance ( Vector3 a ) : double |
The distance between this vector and passed as an argument.
|
|
DistanceSquared ( Vector3 a ) : double |
Square of the distance between this vector and passed as an argument.
|
|
Length ( ) : double |
Calculates the length of the vector.
|
|
LengthSquared ( ) : double |
Calculates the square of the length.
|
|
Unitize ( ) : Vector3 |
Returns a unit vector with the direction of the vector.
|
|
Vector3 ( double x, double y, double z ) : System |
Creates an instance of Vector3.
|
|
operator ( ) : Vector3 |
Calculates the sum of vectors.
|
|
operator ( ) : double |
The scalar product of vectors.
|
public AngleInDegrees ( Vector3 a ) : double | ||
a | Vector3 | Vector |
return | double |
public CrossProduct ( Vector3 a ) : Vector3 | ||
a | Vector3 | Vector |
return | Vector3 |
public DistanceSquared ( Vector3 a ) : double | ||
a | Vector3 | Vector |
return | double |
public Vector3 ( double x, double y, double z ) : System | ||
x | double | The value of x |
y | double | The value of y |
z | double | The value of z |
return | System |