Navigation
API > API/Runtime > API/Runtime/FieldSystemEngine > API/Runtime/FieldSystemEngine/UFieldSystemComponent
Description
AddConstructionField This function will dispatch a command to the physics thread to apply a generic evaluation of a user defined field network. This command will be used in a construction script to setup some particles properties (anchors...). See documentation, for examples of how to recreate variations of the above generic fields using field networks
| Name | AddFieldCommand |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Public/Field/FieldSystemComponent.h |
| Include Path | #include "Field/FieldSystemComponent.h" |
| Source | /Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Private/Field/FieldSystemComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Field", DisplayName="Add Construction Field")
void AddFieldCommand
(
bool Enabled,
EFieldPhysicsType Target,
UFieldSystemMetaData * MetaData,
UFieldNodeBase * Field
)
Parameters
| Name | Remarks |
|---|---|
| Enabled | Is this force enabled for evaluation. |
| Target | Type of field supported by the solver. |
| MetaData | Meta data used to assist in evaluation |
| Field | Base evaluation node for the field network. |