UFieldSystemComponent::AddPersistentField

AddPersistentField This function will dispatch a command to the physics thread to apply a generic evaluation of a user defined field network.

Windows
MacOS
Linux

References

Module

FieldSystemEngine

Header

/Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Public/Field/FieldSystemComponent.h

Include

#include "Field/FieldSystemComponent.h"

Source

/Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Private/Field/FieldSystemComponent.cpp

Syntax

void AddPersistentField
(
    bool Enabled,
    EFieldPhysicsType Target,
    UFieldSystemMetaData * MetaData,
    UFieldNodeBase * Field
)

Remarks

AddPersistentField 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 persistent in time and will live until the component is destroyed or until the RemovePersistenFields function is called. See documentation, for examples of how to recreate variations of the above generic fields using field networks

(https://wiki.it.epicgames.net/display/~Brice.Criswell/Fields)

Parameters

Parameter

Description

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss