Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionVectorNoise
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionVectorNoise.h |
| Include | #include "Materials/MaterialExpressionVectorNoise.h" |
Syntax
UCLASS (MinimalAPI)
class UMaterialExpressionVectorNoise : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bTiling | Whether tile the noise pattern, useful for baking to seam-free repeating textures | |
| TEnumAsByte< enum EVectorNoiseFunction > | NoiseFunction | Noise function, affects performance and look | |
| FExpressionInput | Position | 2 to 3 dimensional vector | |
| int32 | Quality | For noise functions where applicable, lower numbers are faster and lower quality, higher numbers are slower and higher quality | |
| uint32 | TileSize | How many units in each tile (if Tiling is on) For Perlin noise functions, Tile Size must be a multiple of three | |
| EPositionOrigin | WorldPositionOriginType | Defines the reference space for the Position input. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionVectorNoise
(
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). | |
| FName | GetInputName
(
int32 InputIndex |
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. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |