Navigation
API > API/Plugins > API/Plugins/AudioWidgets
Description
Generates a midline divided grid from a given geometry, following the orientation provided in the Params struct argument. The grid space will be divided in half, with the resulting halves being divided again and so on until the desired Division Depth is reached.
| Name | SampledSequenceDrawingUtils::GenerateMidpointSplitGridForGeometry |
| Type | function |
| Header File | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/SampledSequenceDrawingUtils.h |
| Include Path | #include "SampledSequenceDrawingUtils.h" |
| Source | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Private/SampledSequenceDrawingUtils.cpp |
namespace SampledSequenceDrawingUtils
{
void SampledSequenceDrawingUtils::GenerateMidpointSplitGridForGeometry
(
TArray < FGridData > & OutGridData,
const FGeometry & InAllottedGeometry,
const uint16 NDimensions,
const uint32 DivisionDepth,
const FSampledSequenceDrawingParams Params
)
}
Parameters
| Name | Remarks |
|---|---|
| OutGridData | The generated grid coordinates and ratios per each dimension |
| InAllottedGeometry | The geometry the grid will be drawn into |
| NDimensions | Dimensions to account for in the given geometry |
| DivisionDepth | Number of divisions that should be run |
| Params | Drawing Params |