Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionParticleMacroUV
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionParticleMacroUV.h |
| Include | #include "Materials/MaterialExpressionParticleMacroUV.h" |
Syntax
UCLASS ()
class UMaterialExpressionParticleMacroUV : public UMaterialExpression
Remarks
This UV node generates texture coordinates in view space centered on the particle system's MacroUVPosition, with tiling controlled by the particle system's MacroUVRadius. It is useful for mapping a 'macro' noise texture in a continuous manner onto all particles of a particle system.
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionParticleMacroUV
(
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). |