Vector4I Structure |
Namespace: NeoAxis
public struct Vector4I
The Vector4I type exposes the following members.
Name | Description | |
---|---|---|
Vector4I(Vector4I) |
Constructs a vector with another given vector.
| |
Vector4I(Vector3I, Int32) |
Constructs a Vector4I from the given Vector3I and a W component.
| |
Vector4I(Int32, Int32, Int32, Int32) |
Constructs a vector with the given individual elements.
|
Name | Description | |
---|---|---|
Add |
Adds two vectors.
| |
AllNonZero |
Determines whether all components of a given vector are unequal to the zero.
| |
AnyNonZero |
Determines whether any component of a given vector is unequal to the zero.
| |
Divide(Int32, Vector4I, Vector4I) |
Divides a scalar by a vector.
| |
Divide(Vector4I, Vector4I, Vector4I) |
Divides the first vector by the second vector.
| |
Divide(Vector4I, Int32, Vector4I) |
Divides a vector by a given scalar.
| |
Equals(Object) |
Determines whether the specified object is equal to the current instance of Vector4I.
(Overrides ValueTypeEquals(Object).) | |
Equals(Vector4I, Int32) |
Determines whether the specified vector is equal to the current instance of Vector4I with a given precision.
| |
GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Max |
Returns a vector containing the largest components of the specified vectors.
| |
MaxComponent |
Returns the value of the largest component of the current instance of Vector4.
| |
Min |
Returns a vector containing the smallest components of the specified vectors.
| |
MinComponent |
Returns the value of the smallest component of the current instance of Vector4I.
| |
Multiply(Int32, Vector4I, Vector4I) |
Multiplies a vector by a given scalar.
| |
Multiply(Vector4I, Vector4I, Vector4I) |
Multiplies two vectors together.
| |
Multiply(Vector4I, Int32, Vector4I) |
Multiplies a vector by a given scalar.
| |
Negate |
Reverses the direction of a given vector.
| |
Parse |
Converts a string representation of a vector into the equivalent Vector4I structure.
| |
Select |
Chooses one of two vectors depending on the pick1 value.
| |
Subtract |
Subtracts two vectors.
| |
ToString |
Returns a String that represents the current instance of Vector4I.
(Overrides ValueTypeToString.) | |
ToVec4 |
Converts the current instance of Vector4I into the equivalent Vector4 structure.
| |
ToVector2I |
Converts the current instance of Vector4I into an instance of Vector2I.
| |
ToVector3I |
Converts the current instance of Vector4I into an instance of Vector3I.
| |
ToVector4F |
Converts the current instance of Vector4I into the equivalent Vector4F structure.
|
Name | Description | |
---|---|---|
Addition |
Adds two vectors.
| |
Division(Int32, Vector4I) |
Divides a scalar by a vector.
| |
Division(Vector4I, Vector4I) |
Divides the first vector by the second vector.
| |
Division(Vector4I, Int32) |
Divides a vector by a given scalar.
| |
Equality |
Determines whether two given vectors are equal.
| |
Inequality |
Determines whether two given vectors are unequal.
| |
Multiply(Int32, Vector4I) |
Multiplies a vector by a given scalar.
| |
Multiply(Vector4I, Vector4I) |
Multiplies two vectors together.
| |
Multiply(Vector4I, Int32) |
Multiplies a vector by a given scalar.
| |
Subtraction |
Subtracts two vectors.
| |
UnaryNegation |
Reverses the direction of a given vector.
|
Name | Description | |
---|---|---|
One |
Returns the vector (1,1,1,1).
| |
W |
The W component of the vector.
| |
X |
The X component of the vector.
| |
Y |
The Y component of the vector.
| |
Z |
The Z component of the vector.
| |
Zero |
Returns the vector (0,0,0,0).
|
Name | Description | |
---|---|---|
MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |