Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UVectorFieldComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/VectorFieldComponent.h |
Include | #include "Components/VectorFieldComponent.h" |
Syntax
UCLASS (ClassGroup=Rendering, HideCategories=Object, Meta=(BlueprintSpawnableComponent),
MinimalAPI)
class UVectorFieldComponent : public UPrimitiveComponent
Remarks
A Component referencing a vector field.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
uint32: 1 | bPreviewVectorField | If true, the vector field is only used for preview visualizations. |
![]() |
FFXSystemInterface * | FXSystem | The FX system with which this vector field is associated. |
![]() ![]() ![]() |
float | Intensity | The intensity at which the vector field is applied. |
![]() ![]() ![]() ![]() |
float | Tightness | How tightly particles follow the vector field. |
![]() ![]() ![]() ![]() |
TObjectPtr< class UVectorField > | VectorField | The vector field asset. |
![]() |
FVectorFieldInstance * | VectorFieldInstance | The instance of this vector field registered with the FX system. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UVectorFieldComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
void | SetIntensity
(
float NewIntensity |
Set the intensity of the vector field. |
Overridden from UPrimitiveComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FPrimitiveSceneProxy * | Creates a proxy to represent the primitive to the scene manager in the rendering thread. | |
![]() ![]() ![]() |
void | GetUsedMaterials
(
TArray< UMaterialInterface* >& OutMaterials, |
Retrieves the materials used in this component |
Overridden from USceneComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FBoxSphereBounds | CalcBounds
(
const FTransform& LocalToWorld |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
Overridden from UActorComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
![]() ![]() |
void | OnUnregister () |
Called when a component is unregistered. |
![]() ![]() |
void | Called to send a transform update for this component to the rendering thread |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |