Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionNoise
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionNoise.h |
Include | #include "Materials/MaterialExpressionNoise.h" |
Syntax
class UMaterialExpressionNoise : public UMaterialExpression
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint32: 1 | bTiling | Whether to use tiling noise pattern, useful for baking to seam-free repeating textures |
![]() |
uint32: 1 | bTurbulence | How multiple frequencies are getting combined |
![]() |
FExpressionInput | FilterWidth | Scalar, to clamp the Levels at pixel level, can be computed like this: max(length(ddx(Position)), length(ddy(Position)) |
![]() |
int32 | Levels | 1 = fast but little detail, .. larger numbers cost more performance |
![]() |
float | LevelScale | Usually 2 but higher values allow efficient use of few levels |
![]() |
TEnumAsByte< enum ENoiseFunction > | NoiseFunction | Noise function, affects performance and look |
![]() |
float | OutputMax | |
![]() |
float | OutputMin | |
![]() |
FExpressionInput | Position | 2 to 3 dimensional vector |
![]() |
int32 | Quality | Lower numbers are faster and lower quality, higher numbers are slower and higher quality |
![]() |
uint32 | RepeatSize | How many units in each tile (if Tiling is on) |
![]() |
float | Scale | Can also be done with a multiply on the Position |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionNoise
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression |
![]() ![]() ![]() |
bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
|
![]() ![]() ![]() |
void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | CanEditChange
(
const FProperty* InProperty |
Called by the editor to query whether a property of this object is allowed to be modified. |