UUniformScalar::SetUniformScalar

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

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

UUniformScalar * SetUniformScalar
(
    float Magnitude
)

Remarks

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

Parameters

Parameter

Description

Magnitude

The field output will be equal the magnitude