Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionGetMaterialAttributes
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionGetMaterialAttributes.h |
| Include | #include "Materials/MaterialExpressionGetMaterialAttributes.h" |
Syntax
class UMaterialExpressionGetMaterialAttributes : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FGuid > | AttributeGetTypes | ||
| FMaterialAttributesInput | MaterialAttributes | ||
| TArray< FGuid > | PreEditAttributeGetTypes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionGetMaterialAttributes
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| void | GatherStrataMaterialInfo
(
FStrataMaterialInfo& StrataMaterialInfo, |
Recursively parse nodes outputing strata material in order to gather all the possible shading models used in a material graph output a Strata material. | |
| 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 |
||
| uint32 | GetInputType
(
int32 InputIndex |
||
| uint32 | GetOutputType
(
int32 OutputIndex |
||
| bool | IsInputConnectionRequired
(
int32 InputIndex |
||
| bool | IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. | |
| bool | IsResultStrataMaterial
(
int32 OutputIndex |
Marks certain expression types as outputting Strata material. | |
| FStrataOperator * | StrataGenerateMaterialTopologyTree
(
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 | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
This is called when a property is about to be modified externally |