Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionMakeMaterialAttributes
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionMakeMaterialAttributes.h |
Include | #include "Materials/MaterialExpressionMakeMaterialAttributes.h" |
Syntax
class UMaterialExpressionMakeMaterialAttributes : public UMaterialExpression
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FExpressionInput | AmbientOcclusion | |
![]() |
FExpressionInput | Anisotropy | |
![]() |
FExpressionInput | BaseColor | |
![]() |
FExpressionInput | ClearCoat | |
![]() |
FExpressionInput | ClearCoatRoughness | |
![]() |
FExpressionInput[8] | CustomizedUVs | |
![]() |
FExpressionInput | Displacement | |
![]() |
FExpressionInput | EmissiveColor | |
![]() |
FExpressionInput | Metallic | |
![]() |
FExpressionInput | Normal | |
![]() |
FExpressionInput | Opacity | |
![]() |
FExpressionInput | OpacityMask | |
![]() |
FExpressionInput | PixelDepthOffset | |
![]() |
FExpressionInput | Refraction | |
![]() |
FExpressionInput | Roughness | |
![]() |
FExpressionInput | ShadingModel | |
![]() |
FExpressionInput | Specular | |
![]() |
FExpressionInput | SubsurfaceColor | |
![]() |
FExpressionInput | Tangent | |
![]() |
FExpressionInput | WorldPositionOffset |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionMakeMaterialAttributes
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FExpressionInput * | GetExpressionInput
(
EMaterialProperty InProperty |
Get the input for a material property. Returns nullptr if the property isn't supported. |
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). |
![]() ![]() |
uint32 | GetInputType
(
int32 InputIndex |
|
![]() ![]() |
bool | IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Serialize
(
FStructuredArchive::FRecord Record |
Handles reading, writing, and reference collecting using FArchive. |