UMaterialExpressionNoise

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionNoise.h

Include

#include "Materials/MaterialExpressionNoise.h"

Syntax

class UMaterialExpressionNoise : public UMaterialExpression

Variables

Name Description

Public variable

uint32: 1

 

bTiling

Whether to use tiling noise pattern, useful for baking to seam-free repeating textures

Public variable

uint32: 1

 

bTurbulence

How multiple frequencies are getting combined

Public variable

FExpressionInpu...

 

FilterWidth

Scalar, to clamp the Levels at pixel level, can be computed like this: max(length(ddx(Position)), length(ddy(Position))

Public variable

int32

 

Levels

1 = fast but little detail, .. larger numbers cost more performance

Public variable

float

 

LevelScale

Usually 2 but higher values allow efficient use of few levels

Public variable

TEnumAsByte< en...

 

NoiseFunction

Noise function, affects performance and look

Public variable

float

 

OutputMax

Public variable

float

 

OutputMin

Public variable

FExpressionInpu...

 

Position

2 to 3 dimensional vector

Public variable

int32

 

Quality

Lower numbers are faster and lower quality, higher numbers are slower and higher quality

Public variable

uint32

 

RepeatSize

How many units in each tile (if Tiling is on)

Public variable

float

 

Scale

Can also be done with a multiply on the Position

Constructors

Name Description

Public function

UMaterialExpressionNoise

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UMaterialExpression

Name Description

Public function Virtual

int32

 

Compile

(
    FMaterialCompiler* Compiler,
    int32 OutputIndex
)

Create the new shader code chunk needed for the Abs expression

Public function Virtual Const

void

 

GetCaption

(
    TArray< FString >& OutCaptions
)

Returns the text to display on the material expression (in the material editor).

Overridden from UObject

Name Description

Public function Virtual Const

bool

 

CanEditChange

(
    const FProperty* InProperty
)

Called by the editor to query whether a property of this object is allowed to be modified.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss