Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionSetMaterialAttributes
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionSetMaterialAttributes.h |
| Include | #include "Materials/MaterialExpressionSetMaterialAttributes.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionSetMaterialAttributes : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FGuid > | AttributeSetTypes | ||
| TArray< FExpressionInput > | Inputs | ||
| TArray< FGuid > | PreEditAttributeSetTypes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionSetMaterialAttributes
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint64 |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| void | GatherSubstrateMaterialInfo
(
FSubstrateMaterialInfo& SubstrateMaterialInfo, |
Recursively parse nodes outputing Substrate material in order to gather all the possible shading models used in a material graph output a Substrate material. | |
| bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| void | GetExpressionToolTip
(
TArray< FString >& OutToolTip |
Get a tooltip for the expression itself. | |
| FExpressionInput * | Returns the input at index InputIndex if valid, nullptr otherwise. | ||
| FName | GetInputName
(
int32 InputIndex |
||
| TArrayView< FExpressionInput * > | |||
| uint32 | GetInputType
(
int32 InputIndex |
||
| bool | IsInputConnectionRequired
(
int32 InputIndex |
||
| bool | IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. | |
| bool | IsResultSubstrateMaterial
(
int32 OutputIndex |
Marks certain expression types as outputting Substrate material. | |
| FSubstrateOperator * | SubstrateGenerateMaterialTopologyTree
(
FMaterialCompiler* Compiler, |
A starta material is a tree with FrontMateiral being its root and BSDF being leaves, with operators in the middle. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
This is called when a property is about to be modified externally |