#include <IntVector.h>
◆ IntType
◆ TIntVector4() [1/8]
◆ TIntVector4() [2/8]
◆ TIntVector4() [3/8]
◆ TIntVector4() [4/8]
◆ TIntVector4() [5/8]
◆ TIntVector4() [6/8]
Converts to another int type. Checks that the cast will succeed.
◆ TIntVector4() [7/8]
◆ TIntVector4() [8/8]
◆ AppendString() [1/2]
Appends a textual representation of this vector to the output string.
- Parameters
-
| Out | The string to append to. |
◆ AppendString() [2/2]
Appends a textual representation of this vector to the output string builder.
- Parameters
-
| Out | The string builder to append to. |
◆ ComponentMax()
Get the component-wise max of this vector and the parameter vector.
- Parameters
-
| Other | The other vector to compare against. |
- Returns
- A vector where each component is the maximum value of the corresponding components of the two vectors.
◆ ComponentMin()
Get the component-wise min of this vector and the parameter vector.
- Parameters
-
| Other | The other vector to compare against. |
- Returns
- A vector where each component is the minimum value of the corresponding components of the two vectors.
◆ DivideAndRoundUp() [1/2]
Divide an int vector and round up the result.
- Parameters
-
| Lhs | The int vector being divided. |
| Divisor | What to divide the int vector by. |
- Returns
- A new divided int vector.
◆ DivideAndRoundUp() [2/2]
◆ GetAbsMax()
Get the maximum absolute value in the vector.
- Returns
- The maximum absolute value in the vector.
◆ GetAbsMin()
Get the minimum absolute value in the vector.
- Returns
- The minimum absolute value in the vector.
◆ GetMax()
Gets the maximum value in the vector.
- Returns
- The maximum value in the vector.
◆ GetMin()
Gets the minimum value in the vector.
- Returns
- The minimum value in the vector.
◆ InitFromString()
Initialize this vector based on an FString. The String is expected to contain X=, Y=, Z=, W= The vector will be bogus when InitFromString returns false.
- Parameters
-
| InSourceString | FString containing the color values. |
- Returns
- true if the X,Y,Z,W values were read successfully; false otherwise.
◆ IsZero()
Is vector equal to zero.
- Returns
- is zero
◆ Num()
Gets the number of components a vector has.
- Returns
- Number of components vector has.
◆ operator!=()
Compares vectors for inequality.
- Parameters
-
| Other | The other int vector being compared. |
- Returns
- true if the vectors are not equal, false otherwise..
◆ operator%()
Gets the remainder of division on this vector.
- Parameters
-
| Divisor | What to divide the vector by. |
- Returns
- A new remainder int vector.
◆ operator%=()
Remainder of division of this vector.
- Parameters
-
| Divisor | What to divide the vector by. |
- Returns
- Reference to this vector after remainder.
◆ operator&()
Component-wise AND.
- Parameters
-
| Value | Number to AND with the each component. |
- Returns
- A new shifted int vector.
◆ operator()() [1/2]
Gets specific component of a vector.
- Parameters
-
| ComponentIndex | Index of vector component. |
- Returns
- reference to component.
◆ operator()() [2/2]
Gets specific component of a vector.
- Parameters
-
| ComponentIndex | Index of vector component. |
- Returns
- const reference to component.
◆ operator*() [1/2]
Gets the result of component-wise multiplication of this vector by another.
- Parameters
-
| Other | The vector to multiply with. |
- Returns
- The result of multiplication.
◆ operator*() [2/2]
Gets the result of scaling on this vector.
- Parameters
-
| Scale | What to multiply the vector by. |
- Returns
- A new scaled int vector.
◆ operator*=() [1/2]
Multiplies this vector with another vector, using component-wise multiplication.
- Parameters
-
| Other | The vector to multiply with. |
- Returns
- Reference to this vector after multiplication.
◆ operator*=() [2/2]
Scales this vector.
- Parameters
-
| Scale | What to multiply the vector by. |
- Returns
- Reference to this vector after multiplication.
◆ operator+()
Gets the result of addition on this vector.
- Parameters
-
| Other | The other vector to add to this. |
- Returns
- A new combined int vector.
◆ operator+=()
Adds to this vector.
- Parameters
-
| Other | The vector to add to this vector. |
- Returns
- Reference to this vector after addition.
◆ operator-()
Gets the result of subtraction from this vector.
- Parameters
-
| Other | The other vector to subtract from this. |
- Returns
- A new subtracted int vector.
◆ operator-=()
Subtracts from this vector.
- Parameters
-
| Other | The vector to subtract from this vector. |
- Returns
- Reference to this vector after subtraction.
◆ operator/()
Gets the result of division on this vector.
- Parameters
-
| Divisor | What to divide the vector by. |
- Returns
- A new divided int vector.
◆ operator/=()
Divides this vector.
- Parameters
-
| Divisor | What to divide the vector by. |
- Returns
- Reference to this vector after division.
◆ operator<<()
Shifts all components to the left.
- Parameters
-
| Shift | The number of bits to shift. |
- Returns
- A new shifted int vector.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
Compares vectors for equality.
- Parameters
-
| Other | The other int vector being compared. |
- Returns
- true if the vectors are equal, false otherwise..
◆ operator>>()
Shifts all components to the right.
- Parameters
-
| Shift | The number of bits to shift. |
- Returns
- A new shifted int vector.
◆ operator[]() [1/2]
Gets specific component of a vector.
- Parameters
-
| ComponentIndex | Index of vector component. |
- Returns
- reference to component.
◆ operator[]() [2/2]
Gets specific component of a vector.
- Parameters
-
| ComponentIndex | Index of vector component. |
- Returns
- const reference to component.
◆ operator^()
Component-wise XOR.
- Parameters
-
| Value | Number to XOR with the each component. |
- Returns
- A new shifted int vector.
◆ operator|()
Component-wise OR.
- Parameters
-
| Value | Number to OR with the each component. |
- Returns
- A new shifted int vector.
◆ Serialize()
◆ SerializeFromMismatchedTag()
◆ ToString()
Get a textual representation of this vector.
- Returns
- A string describing the vector.
◆ operator<< [1/3]
Serializes the Vector4.
- Parameters
-
| Ar | The archive to serialize into. |
| Vector | The vector to serialize. |
- Returns
- Reference to the Archive after serialization.
◆ operator<< [2/3]
◆ operator<< [3/3]
Appends a textual representation of the parameter vector to the output string builder.
- Parameters
-
| Builder | The string builder to append to. |
| Vector | The vector to append. |
◆ [union]
◆ NoneValue
An int vector with INDEX_NONE values.
Holds the vector's w-coordinate.
Holds the vector's x-coordinate.
◆ XYZW
Holds the vector's y-coordinate.
Holds the vector's z-coordinate.
◆ ZeroValue
An int vector with zeroed values.
The documentation for this struct was generated from the following file: