Navigation
API > API/Plugins > API/Plugins/ChaosNiagara
References
| Module | ChaosNiagara |
| Header | /Engine/Plugins/Experimental/ChaosNiagara/Source/ChaosNiagara/Classes/NiagaraDataInterfacePhysicsField.h |
| Include | #include "NiagaraDataInterfacePhysicsField.h" |
Syntax
struct FNDIPhysicsFieldData
Remarks
Data stored per physics asset instance on the game thread
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FFieldSystemCommand > | FieldCommands | Field system commands for cpu | |
| FPhysicsFieldResource * | FieldResource | Field render resource for gpu | |
| FNiagaraLWCConverter | LWCConverter | ||
| float | TimeSeconds | Time in seconds |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Init
(
FNiagaraSystemInstance* SystemInstance |
Initialize the resource | |
| void | Release () |
Release the buffers | |
| void | Update
(
FNiagaraSystemInstance* SystemInstance |
Update the commands |