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