UKismetMathLibrary::BreakVector_NetQuantize
#include "Kismet/KismetMathLibrary.h"
Access: public
Specifiers: staticUFUNCTIONBlueprintPure
Description
Splits an FVector_NetQuantize into its X, Y, and Z double components. Powers the Blueprint 'Break' node for this type.
Caveats & Gotchas
- • Internally forwards to the ordinary BreakVector on the already-quantized FVector — the components returned already carry whatever whole-number rounding happened when the FVector_NetQuantize was constructed; this call itself doesn't lose additional precision.
- • In C++ this is a plain by-reference output function, not a tuple return — declare the three double locals before calling it.
Signature
static void BreakVector_NetQuantize(FVector_NetQuantize InVec, double& X, double& Y, double& Z) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| InVec | FVector_NetQuantize | The quantized vector to break apart. | — |
| X | double& | Receives the X component. | — |
| Y | double& | Receives the Y component. | — |
| Z | double& | Receives the Z component. | — |
Return Type
void Example
Read back a quantized vector's components C++
double X, Y, Z;
UKismetMathLibrary::BreakVector_NetQuantize(ReplicatedPos, X, Y, Z); Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?