Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionShadingModel
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionShadingModel.h |
| Include | #include "Materials/MaterialExpressionShadingModel.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionShadingModel : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< enum EMaterialShadingModel > | ShadingModel |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionShadingModel
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| int32 | CompilePreview
(
FMaterialCompiler* Compiler, |
||
| bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| uint32 | GetOutputType
(
int32 OutputIndex |