FNDIVelocityGridData

Data stored per strand base instance

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public variable

FNDIVelocityGri...

 

CurrentGridBuffer

Pointer to the current buffer

Public variable

FNDIVelocityGri...

 

DestinationGridBuffer

Pointer to the destination buffer

Public variable

FIntVector

 

GridSize

Grid Size

Public variable

bool

 

NeedResize

Need a resize

Public variable

int32

 

NumAttributes

Num Attributes

Public variable

FMatrix

 

WorldInverse

Inverse world transform

Public variable

FMatrix

 

WorldTransform

World Transform

Functions

Name Description

Public function

bool

 

Init

(
    const FIntVector& InGridSize,
    const int32 InNumAttributes,
    FNiagaraSystemInstance* System...
)

Initialize the buffers

Public function

void

 

Release()

Release the buffers

Public function

void

 

Resize()

Resize the buffers

Public function

void

 

Swap()

Swap the current and the destination data