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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback