Navigation
API > API/Runtime > API/Runtime/FieldSystemEngine
| Name | URandomVector |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Public/Field/FieldSystemObjects.h |
| Include Path | #include "Field/FieldSystemObjects.h" |
Syntax
UCLASS (ClassGroup="Field",
Meta=(BlueprintSpawnableComponent, ToolTip="Set a random vector value independently of the sample position. The output is equal to magnitude * random direction "),
ShowCategories=("Field"), MinimalAPI)
class URandomVector : public UFieldNodeVector
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UFieldNodeBase → UFieldNodeVector → URandomVector
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URandomVector() |
Field/FieldSystemObjects.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~URandomVector() |
Field/FieldSystemObjects.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Magnitude | float | Magnitude of the random vector field | Field/FieldSystemObjects.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URandomVector * SetRandomVector
(
float Magnitude |
Set a random vector value independently of the sample position. | Field/FieldSystemObjects.h |
|
Overridden from UFieldNodeBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FFieldNodeBase * NewEvaluationGraph
(
TArray< const UFieldNodeBase* >& Nodes |
Field/FieldSystemObjects.h |