Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionDataDrivenShaderPlatformInfoSwitch
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionDataDrivenShaderPlatformInfoSwitch.h |
| Include | #include "Materials/MaterialExpressionDataDrivenShaderPlatformInfoSwitch.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionDataDrivenShaderPlatformInfoSwitch : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bContainsInvalidProperty | ||
| TArray< FDataDrivenShaderPlatformInfoInput > | DDSPIPropertyNames | ||
| FExpressionInput | InputFalse | ||
| FExpressionInput | InputTrue |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionDataDrivenShaderPlatformInfoSwitch
(
const FObjectInitializer& ObjectInitializer |
Functions
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). | |
| 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. |
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. |