Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionCustomOutput
- UMaterialExpressionVertexInterpolator
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionVertexInterpolator.h |
| Include | #include "Materials/MaterialExpressionVertexInterpolator.h" |
Syntax
class UMaterialExpressionVertexInterpolator : public UMaterialExpressionCustomOutput
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< UMaterialExpression > > | CompileErrorExpressions | Errors encountered during pre-translation to be appended if the interpolator is actually in-use. | |
| TArray< FString > | CompileErrors | ||
| FExpressionInput | Input | ||
| EMaterialValueType | InterpolatedType | ||
| int32 | InterpolatorIndex | ||
| int32 | InterpolatorOffset |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionVertexInterpolator
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | CompileInput
(
FMaterialCompiler* Compiler, |
Overridden from UMaterialExpressionCustomOutput
| Type | Name | Description | |
|---|---|---|---|
| FString | |||
| bool | Allow custom outputs to generate their own source code. |
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). | |
| FExpressionInput * | GetInput
(
int32 InputIndex |
||
| FName | GetInputName
(
int32 InputIndex |
||
| uint32 | GetInputType
(
int32 InputIndex |
||
| uint32 | GetOutputType
(
int32 OutputIndex |