Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionPerInstanceRandom |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionPerInstanceRandom.h |
| Include Path | #include "Materials/MaterialExpressionPerInstanceRandom.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object)
class UMaterialExpressionPerInstanceRandom : public UMaterialExpressionExternalCodeBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionExternalCodeBase → UMaterialExpressionPerInstanceRandom
Functions
Public
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionPerInstanceRandom.h | |
virtual void GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionPerInstanceRandom.h |