Ark Server API (ASA) - Wiki
|
#include <IntVector.h>
Public Types | |
using | IntType = InIntType |
Static Public Member Functions | |
static TIntVector3 | DivideAndRoundUp (TIntVector3 lhs, IntType Divisor) |
static TIntVector3 | DivideAndRoundUp (TIntVector3 lhs, TIntVector3 Divisor) |
static int32 | Num () |
Public Attributes | ||
union { | ||
struct { | ||
IntType X | ||
IntType Y | ||
IntType Z | ||
} | ||
IntType XYZ [3] | ||
}; | ||
Static Public Attributes | |
static const TIntVector3 | ZeroValue |
static const TIntVector3 | NoneValue |
Friends | |
FArchive & | operator<< (FArchive &Ar, TIntVector3 &Vector) |
void | operator<< (FStructuredArchive::FSlot Slot, TIntVector3 &Vector) |
Structure for integer vectors in 3-d space.
Definition at line 19 of file IntVector.h.
Definition at line 21 of file IntVector.h.
|
default |
Default constructor (no initialization).
|
inline |
Creates and initializes a new instance with the specified coordinates.
InX | The x-coordinate. |
InY | The y-coordinate. |
InZ | The z-coordinate. |
Definition at line 60 of file IntVector.h.
|
inlineexplicit |
Constructor
InValue | replicated to all components |
Definition at line 72 of file IntVector.h.
|
explicit |
Constructor
InVector | float vector converted to int |
|
inlineexplicit |
|
inlineexplicit |
Converts to another int type. Checks that the cast will succeed.
Definition at line 103 of file IntVector.h.
FORCEINLINE UE::Math::TIntVector3< int32 >::TIntVector3 | ( | FVector | InVector | ) |
FORCEINLINE UE::Math::TIntVector3< uint32 >::TIntVector3 | ( | FVector | InVector | ) |
|
inlinestatic |
Divide an int point and round up the result.
lhs | The int point being divided. |
Divisor | What to divide the int point by. |
Definition at line 454 of file IntVector.h.
|
inlinestatic |
Definition at line 459 of file IntVector.h.
|
inline |
Gets the maximum value in the point.
Definition at line 409 of file IntVector.h.
|
inline |
Gets the minimum value in the point.
Definition at line 419 of file IntVector.h.
|
inline |
Gets the number of components a point has.
Definition at line 469 of file IntVector.h.
|
inline |
Compares points for inequality.
Other | The other int point being compared. |
Definition at line 179 of file IntVector.h.
|
inline |
Gets the remainder of division on this point.
Divisor | What to divide the point by. |
Definition at line 313 of file IntVector.h.
|
inline |
Remainder of division of this point.
Divisor | What to divide the point by. |
Definition at line 235 of file IntVector.h.
|
inline |
Component-wise AND.
Value | Number to AND with the each component. |
Definition at line 368 of file IntVector.h.
|
inline |
Gets specific component of a point.
ComponentIndex | Index of point component. |
Definition at line 129 of file IntVector.h.
|
inline |
Gets specific component of a point.
ComponentIndex | Index of point component. |
Definition at line 116 of file IntVector.h.
|
inline |
Gets the result of component-wise multiplication of this point by another.
Other | The point to multiply with. |
Definition at line 280 of file IntVector.h.
|
inline |
Gets the result of scaling on this point.
Scale | What to multiply the point by. |
Definition at line 291 of file IntVector.h.
|
inline |
Multiplies this vector with another vector, using component-wise multiplication.
Other | The point to multiply with. |
Definition at line 190 of file IntVector.h.
|
inline |
Scales this point.
Scale | What to multiply the point by. |
Definition at line 205 of file IntVector.h.
|
inline |
Gets the result of addition on this point.
Other | The other point to add to this. |
Definition at line 324 of file IntVector.h.
|
inline |
Adds to this point.
Other | The point to add to this point. |
Definition at line 250 of file IntVector.h.
|
inline |
Gets the result of subtraction from this point.
Other | The other point to subtract from this. |
Definition at line 335 of file IntVector.h.
|
inline |
Subtracts from this point.
Other | The point to subtract from this point. |
Definition at line 265 of file IntVector.h.
|
inline |
Gets the result of division on this point.
Divisor | What to divide the point by. |
Definition at line 302 of file IntVector.h.
|
inline |
Divides this point.
Divisor | What to divide the point by. |
Definition at line 220 of file IntVector.h.
|
inline |
Shifts all components to the left.
Shift | The number of bits to shift. |
Definition at line 357 of file IntVector.h.
|
inline |
Compares points for equality.
Other | The other int point being compared. |
Definition at line 168 of file IntVector.h.
|
inline |
Shifts all components to the right.
Shift | The number of bits to shift. |
Definition at line 346 of file IntVector.h.
|
inline |
Gets specific component of a point.
ComponentIndex | Index of point component. |
Definition at line 155 of file IntVector.h.
|
inline |
Gets specific component of a point.
ComponentIndex | Index of point component. |
Definition at line 142 of file IntVector.h.
|
inline |
Component-wise XOR.
Value | Number to XOR with the each component. |
Definition at line 390 of file IntVector.h.
|
inline |
Component-wise OR.
Value | Number to OR with the each component. |
Definition at line 379 of file IntVector.h.
|
inline |
Definition at line 494 of file IntVector.h.
Definition at line 1148 of file IntVector.h.
|
inline |
Gets the distance of this point from (0,0,0).
Definition at line 429 of file IntVector.h.
|
inline |
Get a textual representation of this vector.
Definition at line 442 of file IntVector.h.
|
inline |
Definition at line 504 of file IntVector.h.
|
inline |
Definition at line 510 of file IntVector.h.
|
inline |
Definition at line 516 of file IntVector.h.
|
inline |
Definition at line 522 of file IntVector.h.
|
inline |
Definition at line 528 of file IntVector.h.
|
inline |
Definition at line 534 of file IntVector.h.
|
inline |
Definition at line 540 of file IntVector.h.
|
inline |
Definition at line 546 of file IntVector.h.
|
friend |
Serializes the Vector3.
Ar | The archive to serialize into. |
Vector | The vector to serialize. |
Definition at line 481 of file IntVector.h.
|
friend |
Definition at line 486 of file IntVector.h.
union { ... } UE::Math::TIntVector3< InIntType > |
|
static |
An int point with INDEX_NONE values.
Definition at line 46 of file IntVector.h.
Holds the point's x-coordinate.
Definition at line 29 of file IntVector.h.
IntType UE::Math::TIntVector3< InIntType >::XYZ[3] |
Definition at line 39 of file IntVector.h.
Holds the point's y-coordinate.
Definition at line 32 of file IntVector.h.
Holds the point's z-coordinate.
Definition at line 35 of file IntVector.h.
|
static |
An int point with zeroed values.
Definition at line 43 of file IntVector.h.