Navigation
API > API/Plugins > API/Plugins/HairStrandsCore > API/Plugins/HairStrandsCore/Niagara
References
| Module | HairStrandsCore |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/Niagara/NiagaraDataInterfaceVelocityGrid.h |
| Include | #include "Niagara/NiagaraDataInterfaceVelocityGrid.h" |
Syntax
struct FNDIVelocityGridData
Remarks
Data stored per strand base instance
Variables
| Type | Name | Description | |
|---|---|---|---|
| FNDIVelocityGridBuffer * | CurrentGridBuffer | Pointer to the current buffer | |
| FNDIVelocityGridBuffer * | DestinationGridBuffer | Pointer to the destination buffer | |
| FIntVector | GridSize | Grid Size | |
| bool | NeedResize | Need a resize | |
| int32 | NumAttributes | Num Attributes | |
| FMatrix | WorldInverse | Inverse world transform | |
| FMatrix | WorldTransform | World Transform |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Init
(
const FIntVector& InGridSize, |
Initialize the buffers | |
| void | Release () |
Release the buffers | |
| void | Resize () |
Resize the buffers | |
| void | Swap () |
Swap the current and the destination data |