Navigation
API > API/Runtime > API/Runtime/FieldSystemEngine > API/Runtime/FieldSystemEngine/URotatedRadialVector
Description
Set a rotated radial vector value. The direction is the normalized vector from the field position to the sample, then rotated by Angle degrees around Axis.
| Name | SetRotatedRadialVector |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Public/Field/FieldSystemObjects.h |
| Include Path | #include "Field/FieldSystemObjects.h" |
| Source | /Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Private/Field/FieldSystemObjects.cpp |
UFUNCTION (BlueprintPure, Category="Field", Meta=(Magnitude="1.0", Angle="0.0"))
URotatedRadialVector * SetRotatedRadialVector
(
float Magnitude,
FVector Position,
float Angle,
FVector Axis
)
Parameters
| Name | Remarks |
|---|---|
| Magnitude | Magnitude of the radial vector field |
| Position | Center position of the radial vector field |
| Angle | Rotation angle in degrees |
| Axis | Axis to rotate around |