UUniformVector::SetUniformVector

Set a uniform vector value independently of the sample position.The output is equal to magnitude * direction

Choose your operating system:

Windows

macOS

Linux

References

Module

FieldSystemEngine

Header

/Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Public/Field/FieldSystemObjects.h

Include

#include "Field/FieldSystemObjects.h"

Source

/Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Private/Field/FieldSystemObjects.cpp

Syntax

UUniformVector * SetUniformVector
(
    float Magnitude,
    FVector Direction
)

Remarks

Set a uniform vector value independently of the sample position.The output is equal to magnitude * direction

Parameters

Parameter

Description

Magnitude

Magnitude of the uniform vector field

Direction

Normalized direction of the uniform vector field