UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VectorFieldComponent.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3
4
5#pragma once
6
7#include "CoreMinimal.h"
10#include "VectorFieldComponent.generated.h"
11
13
17UCLASS(ClassGroup=Rendering, hidecategories=Object, meta=(BlueprintSpawnableComponent), MinimalAPI)
18class UVectorFieldComponent : public UPrimitiveComponent
19{
21
22
23 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=VectorFieldComponent)
25
27 UPROPERTY(interp, Category=VectorFieldComponent)
28 float Intensity;
29
31 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=VectorFieldComponent)
32 float Tightness;
33
36 uint32 bPreviewVectorField:1;
37
42 UFUNCTION(BlueprintCallable, Category="Effects|Components|VectorField")
43 virtual void SetIntensity(float NewIntensity);
44
45
46public:
47
52
53
54 //~ Begin UPrimitiveComponent Interface.
55 virtual FPrimitiveSceneProxy* CreateSceneProxy() override;
56 virtual FBoxSphereBounds CalcBounds(const FTransform& LocalToWorld) const override;
57 virtual void GetUsedMaterials(TArray<UMaterialInterface*>& OutMaterials, bool bGetDebugMaterials) const override;
58 //~ End UPrimitiveComponent Interface.
59
60 //~ Begin UActorComponent Interface.
61 virtual void OnRegister() override;
62 virtual void OnUnregister() override;
63 virtual void SendRenderTransform_Concurrent() override;
64 //~ End UActorComponent Interface.
65
66 //~ Begin UObject Interface.
67#if WITH_EDITOR
68 virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
69#endif // WITH_EDITOR
70 //~ End UObject Interface.
71};
72
73
74
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition FXSystem.h:131
Definition PrimitiveSceneProxy.h:296
Definition VectorField.h:102
Definition Array.h:670
Definition VectorFieldComponent.h:19
class FFXSystemInterface * FXSystem
Definition VectorFieldComponent.h:49
class FVectorFieldInstance * VectorFieldInstance
Definition VectorFieldComponent.h:51
Definition UnrealType.h:6865
Definition ObjectPtr.h:488
Definition BoxSphereBounds.h:25