Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework
Description
Convert an array of floats to an array of Vector3's. A requirement is that the number of items in the float array is a multiple of 3 (xyz). The order of the float items must be like this: (x, y, z, x, y, z, x, y, z, ...). The OutVectorArray will be automatically resized internally.
| Name | FloatArrayToVector3Array |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerModel.h |
| Include Path | #include "MLDeformerModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Private/MLDeformerModel.cpp |
void FloatArrayToVector3Array
(
const TArray < float > & FloatArray,
TArray < FVector3f > & OutVectorArray
)
Parameters
| Name | Remarks |
|---|---|
| FloatArray | The array of floats to build an array of Vector3's for. |
| OutVectorArray | The array that will contain the vectors instead of floats. |