Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/UGeometryCollectionComponent
Description
AddPhysicsField This function will dispatch a command to the physics thread to apply a generic evaluation of a user defined transient field network. See documentation, for examples of how to recreate variations of the above generic fields using field networks
| Name | ApplyPhysicsField |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionComponent.h |
| Include Path | #include "GeometryCollection/GeometryCollectionComponent.h" |
| Source | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Field", DisplayName="Add Physics Field")
void ApplyPhysicsField
(
bool Enabled,
EGeometryCollectionPhysicsTypeEnum 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. |