Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionGetMaterialAttributes |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionGetMaterialAttributes.h |
| Include Path | #include "Materials/MaterialExpressionGetMaterialAttributes.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionGetMaterialAttributes : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionGetMaterialAttributes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionGetMaterialAttributes
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionGetMaterialAttributes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttributeGetTypes | TArray< FGuid > | Materials/MaterialExpressionGetMaterialAttributes.h |
|
|
| MaterialAttributes | FMaterialAttributesInput | Materials/MaterialExpressionGetMaterialAttributes.h | ||
| PreEditAttributeGetTypes | TArray< FGuid > | Materials/MaterialExpressionGetMaterialAttributes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 CreateOrGetOutputAttribute
(
EMaterialProperty Attribute |
Materials/MaterialExpressionGetMaterialAttributes.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionGetMaterialAttributes.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionGetMaterialAttributes.h | |
virtual 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. | Materials/MaterialExpressionGetMaterialAttributes.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionGetMaterialAttributes.h | ||
virtual FName GetInputName
(
int32 InputIndex |
Materials/MaterialExpressionGetMaterialAttributes.h | ||
virtual EMaterialValueType GetInputValueType
(
int32 InputIndex |
Materials/MaterialExpressionGetMaterialAttributes.h | ||
virtual EMaterialValueType GetOutputValueType
(
int32 OutputIndex |
Materials/MaterialExpressionGetMaterialAttributes.h | ||
virtual bool IsInputConnectionRequired
(
int32 InputIndex |
Materials/MaterialExpressionGetMaterialAttributes.h | ||
virtual bool IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. | Materials/MaterialExpressionGetMaterialAttributes.h | |
virtual bool IsResultSubstrateMaterial
(
int32 OutputIndex |
Marks certain expression types as outputting Substrate material. | Materials/MaterialExpressionGetMaterialAttributes.h | |
virtual FSubstrateOperator * SubstrateGenerateMaterialTopologyTree
(
FMaterialCompiler* Compiler, |
A starta material is a tree with FrontMateiral being its root and BSDF being leaves, with operators in the middle. | Materials/MaterialExpressionGetMaterialAttributes.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Materials/MaterialExpressionGetMaterialAttributes.h | ||
virtual void PostLoad() |
Materials/MaterialExpressionGetMaterialAttributes.h | ||
virtual void PreEditChange
(
FProperty* PropertyAboutToChange |
Materials/MaterialExpressionGetMaterialAttributes.h |