프로퍼티 | 타입 | 설명 | |
---|---|---|---|
W | float | ||
X | float | ||
Y | float | ||
Z | float |
메소드 | 설명 | |
---|---|---|
Abs ( ) : Vector4 |
Calculate absolute values of the vector.
|
|
Add ( Vector4 vector1, Vector4 vector2 ) : Vector4 |
Adds corresponding coordinates of two vectors.
|
|
Add ( Vector4 vector, float value ) : Vector4 |
Adds a value to all coordinates of the specified vector.
|
|
Divide ( Vector4 vector1, Vector4 vector2 ) : Vector4 |
Divides corresponding coordinates of two vectors.
|
|
Divide ( Vector4 vector, float factor ) : Vector4 |
Divides coordinates of the specified vector by the specified factor.
|
|
Dot ( Vector4 vector1, Vector4 vector2 ) : float |
Calculates dot product of two vectors.
|
|
Equals ( Object obj ) : bool |
Tests whether the vector equals to the specified object.
|
|
Equals ( Vector4 vector ) : bool |
Tests whether the vector equals to the specified one.
|
|
GetHashCode ( ) : int |
Returns the hashcode for this instance.
|
|
Inverse ( ) : Vector4 |
Inverse the vector.
|
|
Multiply ( Vector4 vector1, Vector4 vector2 ) : Vector4 |
Multiplies corresponding coordinates of two vectors.
|
|
Multiply ( Vector4 vector, float factor ) : Vector4 |
Multiplies coordinates of the specified vector by the specified factor.
|
|
Normalize ( ) : float |
Normalizes the vector by dividing it’s all coordinates with the vector's norm.
|
|
Subtract ( Vector4 vector1, Vector4 vector2 ) : Vector4 |
Subtracts corresponding coordinates of two vectors.
|
|
Subtract ( Vector4 vector, float value ) : Vector4 |
Subtracts a value from all coordinates of the specified vector.
|
|
ToArray ( ) : float[] |
Returns array representation of the vector.
|
|
ToString ( ) : string |
Returns a string representation of this object.
|
|
ToVector3 ( ) : Vector3 |
Converts the vector to a 3D vector.
|
|
Vector4 ( float value ) : System |
Initializes a new instance of the Vector4 structure.
|
|
Vector4 ( float x, float y, float z, float w ) : System |
Initializes a new instance of the Vector4 structure.
|
|
operator ( ) : Vector4 |
Adds corresponding coordinates of two vectors.
|
|
operator ( ) : bool |
Tests whether two specified vectors are equal.
|
public static Add ( Vector4 vector1, Vector4 vector2 ) : Vector4 | ||
vector1 | Vector4 | The vector to add to. |
vector2 | Vector4 | The vector to add to the first vector. |
리턴 | Vector4 |
public static Add ( Vector4 vector, float value ) : Vector4 | ||
vector | Vector4 | Vector to add the specified value to. |
value | float | Value to add to all coordinates of the vector. |
리턴 | Vector4 |
public static Divide ( Vector4 vector1, Vector4 vector2 ) : Vector4 | ||
vector1 | Vector4 | The first vector to divide. |
vector2 | Vector4 | The second vector to devide. |
리턴 | Vector4 |
public static Divide ( Vector4 vector, float factor ) : Vector4 | ||
vector | Vector4 | Vector to divide coordinates of. |
factor | float | Factor to divide coordinates of the specified vector by. |
리턴 | Vector4 |
public static Dot ( Vector4 vector1, Vector4 vector2 ) : float | ||
vector1 | Vector4 | First vector to use for dot product calculation. |
vector2 | Vector4 | Second vector to use for dot product calculation. |
리턴 | float |
public Equals ( Object obj ) : bool | ||
obj | Object | The object to test equality with. |
리턴 | bool |
public Equals ( Vector4 vector ) : bool | ||
vector | Vector4 | The vector to test equality with. |
리턴 | bool |
public static Multiply ( Vector4 vector1, Vector4 vector2 ) : Vector4 | ||
vector1 | Vector4 | The first vector to multiply. |
vector2 | Vector4 | The second vector to multiply. |
리턴 | Vector4 |
public static Multiply ( Vector4 vector, float factor ) : Vector4 | ||
vector | Vector4 | Vector to multiply coordinates of. |
factor | float | Factor to multiple coordinates of the specified vector by. |
리턴 | Vector4 |
public static Subtract ( Vector4 vector1, Vector4 vector2 ) : Vector4 | ||
vector1 | Vector4 | The vector to subtract from. |
vector2 | Vector4 | The vector to subtract from the first vector. |
리턴 | Vector4 |
public static Subtract ( Vector4 vector, float value ) : Vector4 | ||
vector | Vector4 | Vector to subtract the specified value from. |
value | float | Value to subtract from all coordinates of the vector. |
리턴 | Vector4 |
public Vector4 ( float value ) : System | ||
value | float | Value, which is set to all 4 coordinates of the vector. |
리턴 | System |
public Vector4 ( float x, float y, float z, float w ) : System | ||
x | float | X coordinate of the vector. |
y | float | Y coordinate of the vector. |
z | float | Z coordinate of the vector. |
w | float | W coordinate of the vector. |
리턴 | System |